|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface ClassType
A program model element representing class types.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement |
|---|
ProgramModelElement.LexicalOrder |
| Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement |
|---|
ProgramModelElement.LexicalOrder |
| Nested classes/interfaces inherited from interface recoder.abstraction.ProgramModelElement |
|---|
ProgramModelElement.LexicalOrder |
| Field Summary |
|---|
| Fields inherited from interface recoder.abstraction.ProgramModelElement |
|---|
LEXICAL_ORDER |
| Fields inherited from interface recoder.bytecode.AccessFlags |
|---|
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE |
| Fields inherited from interface recoder.abstraction.ProgramModelElement |
|---|
LEXICAL_ORDER |
| Fields inherited from interface recoder.bytecode.AccessFlags |
|---|
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE |
| Fields inherited from interface recoder.abstraction.ProgramModelElement |
|---|
LEXICAL_ORDER |
| Fields inherited from interface recoder.bytecode.AccessFlags |
|---|
ABSTRACT, ANNOTATION, BRIDGE, ENUM, FINAL, INTERFACE, NATIVE, PRIVATE, PROTECTED, PUBLIC, STATIC, STRICT, SUPER, SYNCHRONIZED, SYNTHETIC, TRANSIENT, VARARGS, VOLATILE |
| Method Summary | |
|---|---|
java.util.List<Field> |
getAllFields()
Returns all visible fields that are defined in this class type or any of its supertypes. |
java.util.List<Method> |
getAllMethods()
Returns all visible methods that are defined in this class type or any of its supertypes. |
java.util.List<ClassType> |
getAllSupertypes()
Returns the list of all supertypes of this class type, in topological order, including the class type itself as first element. |
java.util.List<ClassType> |
getAllTypes()
Returns all class types that are inner types of this class type, including visible inherited types. |
java.util.List<? extends Constructor> |
getConstructors()
Returns the constructors locally defined within this class type. |
ErasedType |
getErasedType()
|
java.util.List<? extends Field> |
getFields()
Returns the fields locally defined within this class type. |
java.util.List<Method> |
getMethods()
Returns the methods locally defined within this class type. |
java.util.List<ClassType> |
getSupertypes()
Returns the list of locally declared supertypes of this class type. |
java.util.List<? extends TypeParameter> |
getTypeParameters()
Returns the type parameters of this class type. |
boolean |
isAbstract()
Checks if this member is abstract. |
boolean |
isAnnotationType()
Checks if this class type denotes an annotation type |
boolean |
isEnumType()
Checks if this class type denotes an enum type |
boolean |
isInner()
Checks if this type is an inner class, as described in JLS, 3rd edition, §8.1.3 |
boolean |
isInterface()
Checks if this class type denotes an interface (i.e. ordinary interface or annotation type). |
boolean |
isOrdinaryClass()
Checks if this class type denotes an ordinary (i.e. not an enum) class. |
boolean |
isOrdinaryInterface()
Checks if this class type denotes an ordinary (i.e. not annotation type) interface. |
| Methods inherited from interface recoder.abstraction.Type |
|---|
createArrayType, getArrayType, getFullSignature |
| Methods inherited from interface recoder.abstraction.ProgramModelElement |
|---|
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo |
| Methods inherited from interface recoder.NamedModelElement |
|---|
getName |
| Methods inherited from interface recoder.ModelElement |
|---|
validate |
| Methods inherited from interface recoder.abstraction.Member |
|---|
getAnnotations, getContainingClassType, isFinal, isPrivate, isProtected, isPublic, isStatic, isStrictFp |
| Methods inherited from interface recoder.abstraction.ProgramModelElement |
|---|
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo |
| Methods inherited from interface recoder.NamedModelElement |
|---|
getName |
| Methods inherited from interface recoder.ModelElement |
|---|
validate |
| Methods inherited from interface recoder.abstraction.ClassTypeContainer |
|---|
getContainer, getPackage, getTypes |
| Methods inherited from interface recoder.abstraction.ProgramModelElement |
|---|
getBinaryName, getFullName, getProgramModelInfo, setProgramModelInfo |
| Methods inherited from interface recoder.NamedModelElement |
|---|
getName |
| Methods inherited from interface recoder.ModelElement |
|---|
validate |
| Method Detail |
|---|
boolean isInterface()
true if this object represents an interface,
false otherwise.boolean isOrdinaryInterface()
true if this object represents an ordinary interface,
false otherwise.boolean isAnnotationType()
true if this object represents an annotation type,
false otherwiseboolean isEnumType()
true if this object represents an enum type,
false otherwiseboolean isOrdinaryClass()
true if this object represents an ordinary class type,
false otherwiseboolean isAbstract()
true
.
true if this member is abstract, false
otherwise.isInterface()boolean isInner()
java.util.List<ClassType> getSupertypes()
java.util.List<ClassType> getAllSupertypes()
java.util.List<? extends Field> getFields()
java.util.List<Field> getAllFields()
java.util.List<Method> getMethods()
java.util.List<Method> getAllMethods()
java.util.List<? extends Constructor> getConstructors()
java.util.List<ClassType> getAllTypes()
getAllSupertypes()java.util.List<? extends TypeParameter> getTypeParameters()
ErasedType getErasedType()
|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||