|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectrecoder.abstraction.ParameterizedType.CapturedType
public class ParameterizedType.CapturedType
the capture of this parameterized type. See JLS, 3rd edition, §5.1.10
| 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 |
| Constructor Summary | |
|---|---|
ParameterizedType.CapturedType()
|
|
| Method Summary | |
|---|---|
ArrayType |
createArrayType()
|
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 AnnotationUse> |
getAnnotations()
Returns a list of Annotations. |
ArrayType |
getArrayType()
|
java.lang.String |
getBinaryName()
Returns the binary name. |
java.util.List<? extends Constructor> |
getConstructors()
Returns the constructors locally defined within this class type. |
ClassTypeContainer |
getContainer()
Returns the enclosing package or class type, or method. |
ParameterizedType |
getContainingClassType()
Returns the logical parent type of this member. |
ErasedType |
getErasedType()
|
java.util.List<? extends Field> |
getFields()
Returns the fields locally defined within this class type. |
java.lang.String |
getFullName()
Returns the maximal expanded name including all applicable qualifiers. |
java.lang.String |
getFullSignature()
Returns a full type signature of this type, i.e., the full name plus possible type arguments. |
java.util.List<Method> |
getMethods()
Returns the methods locally defined within this class type. |
java.lang.String |
getName()
Return the name of the model element. |
Package |
getPackage()
Returns the package this element is defined in. |
ProgramModelInfo |
getProgramModelInfo()
Returns the instance that can retrieve information about this program model element. |
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. |
java.util.List<? extends ClassType> |
getTypes()
Returns the class types locally defined within this container. |
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 |
isFinal()
Checks if this member is final. |
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. |
boolean |
isPrivate()
Checks if this member is private. |
boolean |
isProtected()
Checks if this member is protected. |
boolean |
isPublic()
Checks if this member is public. |
boolean |
isStatic()
Checks if this member is static. |
boolean |
isStrictFp()
Checks if this member is strictfp. |
void |
setProgramModelInfo(ProgramModelInfo pmi)
Sets the instance that can retrieve information about this program model element. |
void |
validate()
Check consistency and admissibility of a construct, e.g. cardinality of participants. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterizedType.CapturedType()
| Method Detail |
|---|
public java.util.List<Field> getAllFields()
ClassType
getAllFields in interface ClassTypepublic java.util.List<Method> getAllMethods()
ClassType
getAllMethods in interface ClassTypepublic java.util.List<ClassType> getAllSupertypes()
ClassType
getAllSupertypes in interface ClassTypepublic java.util.List<ClassType> getAllTypes()
ClassType
getAllTypes in interface ClassTypeClassType.getAllSupertypes()public java.util.List<? extends Constructor> getConstructors()
ClassType
getConstructors in interface ClassTypepublic ErasedType getErasedType()
getErasedType in interface ClassTypepublic java.util.List<? extends Field> getFields()
ClassType
getFields in interface ClassTypepublic java.lang.String getFullSignature()
TypegetFullName() on primitive types.
getFullSignature in interface Typepublic java.util.List<Method> getMethods()
ClassType
getMethods in interface ClassTypepublic java.util.List<ClassType> getSupertypes()
ClassType
getSupertypes in interface ClassTypepublic java.util.List<? extends TypeParameter> getTypeParameters()
ClassType
getTypeParameters in interface ClassTypepublic boolean isAbstract()
ClassTypetrue
.
isAbstract in interface ClassTypetrue if this member is abstract, false
otherwise.ClassType.isInterface()public boolean isAnnotationType()
ClassType
isAnnotationType in interface ClassTypetrue if this object represents an annotation type,
false otherwisepublic boolean isEnumType()
ClassType
isEnumType in interface ClassTypetrue if this object represents an enum type,
false otherwisepublic boolean isInner()
ClassType
isInner in interface ClassTypepublic boolean isInterface()
ClassType
isInterface in interface ClassTypetrue if this object represents an interface,
false otherwise.public boolean isOrdinaryClass()
ClassType
isOrdinaryClass in interface ClassTypetrue if this object represents an ordinary class type,
false otherwisepublic boolean isOrdinaryInterface()
ClassType
isOrdinaryInterface in interface ClassTypetrue if this object represents an ordinary interface,
false otherwise.public ArrayType createArrayType()
createArrayType in interface Typepublic ArrayType getArrayType()
getArrayType in interface Typepublic java.lang.String getFullName()
ProgramModelElement
getFullName in interface ProgramModelElementpublic java.lang.String getBinaryName()
ProgramModelElement
getBinaryName in interface ProgramModelElementpublic ProgramModelInfo getProgramModelInfo()
ProgramModelElement
getProgramModelInfo in interface ProgramModelElementpublic void setProgramModelInfo(ProgramModelInfo pmi)
ProgramModelElement
setProgramModelInfo in interface ProgramModelElementpmi - the program model info to be used for this element.public java.lang.String getName()
NamedModelElement
getName in interface NamedModelElement
public void validate()
throws ModelException
ModelElementrecoder.java.statement.If
has a boolean parameter as condition,
recoder.service.SemanticsChecker
validate in interface ModelElementModelExceptionSemanticsCheckerpublic java.util.List<? extends AnnotationUse> getAnnotations()
Member
getAnnotations in interface Memberpublic ParameterizedType getContainingClassType()
Member
getContainingClassType in interface Memberpublic boolean isFinal()
Member
isFinal in interface Membertrue if this member is final, false
otherwise.public boolean isPrivate()
Member
isPrivate in interface Membertrue if this member is private, false
otherwise.public boolean isProtected()
Member
isProtected in interface Membertrue if this member is protected, false
otherwise.public boolean isPublic()
Member
isPublic in interface Membertrue if this member is public, false
otherwise.public boolean isStatic()
Membertrue for
Constructors.
isStatic in interface Membertrue if this member is static, false
otherwise.public boolean isStrictFp()
Member
isStrictFp in interface Membertrue if this member is strictfp, false
otherwise.public ClassTypeContainer getContainer()
ClassTypeContainer
getContainer in interface ClassTypeContainerpublic Package getPackage()
ClassTypeContainer
getPackage in interface ClassTypeContainerpublic java.util.List<? extends ClassType> getTypes()
ClassTypeContainer
getTypes in interface ClassTypeContainer
|
RECODER 0.92 | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||