Constructor and Description |
---|
ClassImpl(Class clazz)
construct me from the given clazz
|
Modifier and Type | Method and Description |
---|---|
void |
addField(Field f) |
void |
addImplementedInterface(String s) |
void |
addMethod(Method f) |
void |
addPrefixCode(String c) |
void |
addSuperClass(String s) |
void |
dump(PrintWriter stream)
Default implementation prints Java code
|
boolean |
equals(Object o) |
Class |
getClazz() |
Collection<Field> |
getFields() |
Collection<String> |
getImplementedInterfaces() |
Collection<Method> |
getMethods() |
Package |
getPackage()
get my package
|
String |
getQualifiedName() |
Collection<String> |
getSuperClasses() |
boolean |
isInterface() |
void |
isInterface(boolean i) |
protected static void |
print(PrintWriter stream,
String pre,
String o,
String post) |
void |
removeField(Field f) |
void |
removeImplementedInterface(String s) |
void |
removeMethod(Method f) |
void |
removeSuperClass(String s) |
void |
setClazz(Class c) |
void |
setPackage(Package p)
set my package
|
addTaggedValues, getAccess, getDocumentation, getDocumentedObject, getId, getName, getPropertyValue, getTaggedValues, is, printDocumentation, setAccess, setDocumentedObject, setName
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAccess, getDocumentation, getDocumentedObject, getId, getName, getTaggedValues, is, setAccess, setDocumentedObject, setName
protected Class clazz
public ClassImpl(Class clazz)
clazz
- public void setClazz(Class c)
public Class getClazz()
public void setPackage(Package p)
setPackage
in interface Class
public Package getPackage()
getPackage
in interface Class
public void isInterface(boolean i)
public boolean isInterface()
isInterface
in interface Class
public void removeField(Field f)
removeField
in interface Class
public void removeMethod(Method f)
removeMethod
in interface Class
public void addSuperClass(String s)
addSuperClass
in interface Class
public void removeSuperClass(String s)
removeSuperClass
in interface Class
public void addImplementedInterface(String s)
addImplementedInterface
in interface Class
public void removeImplementedInterface(String s)
removeImplementedInterface
in interface Class
public String getQualifiedName()
getQualifiedName
in interface Class
public void addPrefixCode(String c)
addPrefixCode
in interface Class
public Collection<Method> getMethods()
getMethods
in interface Class
public Collection<Field> getFields()
public Collection<String> getSuperClasses()
public Collection<String> getImplementedInterfaces()
protected static void print(PrintWriter stream, String pre, String o, String post)
public void dump(PrintWriter stream)
Copyright © 2018 BITPlan GmbH. All rights reserved.