| Modifier and Type | Field and Description |
|---|---|
| protected final ReferenceTypeImpl | |
| protected final String | |
| private final int | |
| protected final String | |
| protected final long | |
| protected final String |
| Access | Constructor and Description |
|---|---|
| pack-priv | TypeComponentImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, long ref, String name, String signature, String genericSignature, int modifiers)
|
| Modifier and Type | Method and Description |
|---|---|
| public ReferenceType | declaringType()
Implements com. Returns the type in which this component was declared. |
| public String | genericSignature()
Implements com. Gets the generic signature for this TypeComponent if there is one. |
| public boolean | |
| pack-priv boolean | |
| public boolean | isPackagePrivate()
Implements com. Determines if this object mirrors a package private item. |
| public boolean | isPrivate()
Implements com. Determines if this object mirrors a private item. |
| public boolean | isProtected()
Implements com. Determines if this object mirrors a protected item. |
| public boolean | isPublic()
Implements com. Determines if this object mirrors a public item. |
| public boolean | isStatic()
Implements com. Determines if this TypeComponent is static. |
| public boolean | isSynthetic()
Implements com. Determines if this TypeComponent is synthetic. |
| public int | modifiers()
Implements com. Returns the Java programming language modifiers, encoded in an integer. |
| public String | |
| pack-priv long | |
| public String | signature()
Implements com. Gets the type signature for this type component. |
| declaringType | back to summary |
|---|---|
| protected final ReferenceTypeImpl declaringType | |
| genericSignature | back to summary |
|---|---|
| protected final String genericSignature | |
| modifiers | back to summary |
|---|---|
| private final int modifiers | |
| name | back to summary |
|---|---|
| protected final String name | |
| ref | back to summary |
|---|---|
| protected final long ref | |
| signature | back to summary |
|---|---|
| protected final String signature | |
| TypeComponentImpl | back to summary |
|---|---|
| pack-priv TypeComponentImpl(VirtualMachine vm, ReferenceTypeImpl declaringType, long ref, String name, String signature, String genericSignature, int modifiers) | |
| declaringType | back to summary |
|---|---|
| public ReferenceType declaringType() Implements com. Doc from com. Returns the type in which this component was declared. The
returned | |
| genericSignature | back to summary |
|---|---|
| public String genericSignature() Implements com. Doc from com. Gets the generic signature for this TypeComponent if there is one. Generic signatures are described in the The Java Virtual Machine Specification. | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Implements com. Doc from com. Determines if this TypeComponent is final. Return value is undefined for constructors and static initializers. | |
| isModifierSet | back to summary |
|---|---|
| pack-priv boolean isModifierSet(int compareBits) | |
| isPackagePrivate | back to summary |
|---|---|
| public boolean isPackagePrivate() Implements com. Doc from com. Determines if this object mirrors a package private item.
A package private item is declared with no access specifier.
For | |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Implements com. Doc from com. Determines if this object mirrors a private item.
For | |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Implements com. Doc from com. Determines if this object mirrors a protected item.
For | |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Implements com. Doc from com. Determines if this object mirrors a public item.
For | |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Implements com. Doc from com. Determines if this TypeComponent is static. Return value is undefined for constructors and static initializers. | |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Implements com. Doc from com. Determines if this TypeComponent is synthetic. Synthetic members are generated by the compiler and are not present in the source code for the containing class.
Not all target VMs support this query. See
| |
| modifiers | back to summary |
|---|---|
| public int modifiers() Implements com. Doc from com. Returns the Java programming language modifiers, encoded in an integer.
The modifier encodings are defined in
The Java Virtual Machine Specification
in the | |
| name | back to summary |
|---|---|
| public String name() Implements com. Doc from com. Gets the name of this type component. Note for fields, this is the field name; for methods, this is the method name; for constructors, this is <init>; for static initializers, this is <clinit>. | |
| ref | back to summary |
|---|---|
| pack-priv long ref() | |
| signature | back to summary |
|---|---|
| public String signature() Implements com. Doc from com. Gets the
type signature for this type component. The
signature is encoded type information as defined
in the JNI documentation. It is a convenient, compact format for
for manipulating type information internally, not necessarily
for display to an end user. See | |