| 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, setNameclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccess, getDocumentation, getDocumentedObject, getId, getName, getTaggedValues, is, setAccess, setDocumentedObject, setNameprotected Class clazz
public ClassImpl(Class clazz)
clazz - public void setClazz(Class c)
public Class getClazz()
public void setPackage(Package p)
setPackage in interface Classpublic Package getPackage()
getPackage in interface Classpublic void isInterface(boolean i)
public boolean isInterface()
isInterface in interface Classpublic void removeField(Field f)
removeField in interface Classpublic void removeMethod(Method f)
removeMethod in interface Classpublic void addSuperClass(String s)
addSuperClass in interface Classpublic void removeSuperClass(String s)
removeSuperClass in interface Classpublic void addImplementedInterface(String s)
addImplementedInterface in interface Classpublic void removeImplementedInterface(String s)
removeImplementedInterface in interface Classpublic String getQualifiedName()
getQualifiedName in interface Classpublic void addPrefixCode(String c)
addPrefixCode in interface Classpublic Collection<Method> getMethods()
getMethods in interface Classpublic 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.