| Modifier and Type | Field and Description |
|---|---|
| private final ClassInfo | classInfo
The class info.
|
| private final ClassRefTypeSignature | superclassSignature
The superclass type. |
| private final List | superinterfaceSignatures
The superinterface signatures. |
| private final List | throwsSignatures
The throws signatures (usually null). |
| pack-priv final List | typeParameters
The class type parameters. |
| Access | Constructor and Description |
|---|---|
| private | ClassTypeSignature(final ClassInfo
the classInfo, final List<TypeParameter> ClassInfo object of the class.The class type parameters. typeParameters, final ClassRefTypeSignature The superclass signature. superclassSignature, final List<ClassRefTypeSignature> The superinterface signature(s). superinterfaceSignatures, final List<ClassRefOrTypeVariableSignature> the throws signatures (these are actually invalid, but can be added by Scala: #495). Usually null. throwsSignatures)Constructor. |
| pack-priv | ClassTypeSignature(final ClassInfo
The class. classInfo, final ClassInfo The superclass. superclass, final ClassInfoList The implemented interfaces. interfaces)Constructor used to create synthetic class type descriptor (#662). |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addTypeAnnotation(final List<Classfile.
the type path typePath,the annotation annotationInfo)Implements abstract io. Add a type annotation. |
| public boolean | equals(final Object
the reference object with which to compare. obj)Overrides java. Indicates whether some other object is "equal to" this one. |
| protected void | findReferencedClassInfo(final Map<String, ClassInfo>
the map from class name to classNameToClassInfo, final Set<ClassInfo> ClassInfo.the referenced class info refdClassInfo, final LogNode the log log)Overrides io. Get |
| protected void | findReferencedClassNames(final Set<String>
the referenced class names. refdClassNames)Get the names of any classes referenced in the type signature. |
| protected ClassInfo | getClassInfo()
Overrides io. Get the |
| protected String | getClassName()
Implements abstract io. The name of the class (used by |
| public ClassRefTypeSignature | Returns: The type signature for the superclass, or null if no superclass (i.e. forjava.).Get the type signature for the superclass (possibly null in the case of |
| public List | Returns: The type signatures of any superinterfaces.Get the type signatures of any superinterfaces. |
| pack-priv List | |
| public List | Returns: The type parameters for the class.Get the type parameters for the class. |
| public int | |
| pack-priv static ClassTypeSignature | |
| pack-priv void | setScanResult(final ScanResult
the scan result scanResult)Overrides io. Set ScanResult backreferences in info objects after scan has completed. |
| pack-priv void | toStringInternal(final String
The class name className, final boolean the use simple names useSimpleNames, final int The class modifiers. modifiers, final boolean True if the class is an annotation. isAnnotation, final boolean True if the class is an interface. isInterface, final AnnotationInfoList the annotations to exclude annotationsToExclude, final StringBuilder the buf buf)Render into String form. |
| protected void | toStringInternal(final boolean
the use simple names useSimpleNames, final AnnotationInfoList the annotations to exclude annotationsToExclude, final StringBuilder the buf buf)Implements abstract io. To string internal. |
| classInfo | back to summary |
|---|---|
| private final ClassInfo classInfo Hides io. The class info. | |
| superclassSignature | back to summary |
|---|---|
| private final ClassRefTypeSignature superclassSignature The superclass type. | |
| superinterfaceSignatures | back to summary |
|---|---|
| private final List<ClassRefTypeSignature> superinterfaceSignatures The superinterface signatures. | |
| throwsSignatures | back to summary |
|---|---|
| private final List<ClassRefOrTypeVariableSignature> throwsSignatures The throws signatures (usually null). These are only present in Scala classes, if the class is marked up with
| |
| typeParameters | back to summary |
|---|---|
| pack-priv final List<TypeParameter> typeParameters The class type parameters. | |
| ClassTypeSignature | back to summary |
|---|---|
| private ClassTypeSignature(final ClassInfo classInfo, final List<TypeParameter> typeParameters, final ClassRefTypeSignature superclassSignature, final List<ClassRefTypeSignature> superinterfaceSignatures, final List<ClassRefOrTypeVariableSignature> throwsSignatures) Constructor.
| |
| ClassTypeSignature | back to summary |
|---|---|
| pack-priv ClassTypeSignature(final ClassInfo classInfo, final ClassInfo superclass, final ClassInfoList interfaces) Constructor used to create synthetic class type descriptor (#662).
| |
| addTypeAnnotation | back to summary |
|---|---|
| protected void addTypeAnnotation(final List<Classfile. Implements abstract io. Doc from io. Add a type annotation.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findReferencedClassInfo | back to summary |
|---|---|
| protected void findReferencedClassInfo(final Map<String, ClassInfo> classNameToClassInfo, final Set<ClassInfo> refdClassInfo, final LogNode log) Overrides io. Get | |
| findReferencedClassNames | back to summary |
|---|---|
| protected void findReferencedClassNames(final Set<String> refdClassNames) Get the names of any classes referenced in the type signature. | |
| getClassInfo | back to summary |
|---|---|
| protected ClassInfo getClassInfo() Overrides io. Doc from io. Get the | |
| getClassName | back to summary |
|---|---|
| protected String getClassName() Implements abstract io. Doc from io. The name of the class (used by | |
| getSuperclassSignature | back to summary |
|---|---|
| public ClassRefTypeSignature getSuperclassSignature() Get the type signature for the superclass (possibly null in the case of
| |
| getSuperinterfaceSignatures | back to summary |
|---|---|
| public List Get the type signatures of any superinterfaces.
| |
| getThrowsSignatures | back to summary |
|---|---|
| pack-priv List Gets the throws signatures. These are invalid according to the classfile spec (so this method is currently non-public), but may be added by the Scala compiler. (See bug #495.)
| |
| getTypeParameters | back to summary |
|---|---|
| public List Get the type parameters for the class.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| parse | back to summary |
|---|---|
| pack-priv static ClassTypeSignature parse(final String typeDescriptor, final ClassInfo classInfo) throws ParseException Parse a class type signature or class type descriptor.
| |
| setScanResult | back to summary |
|---|---|
| pack-priv void setScanResult(final ScanResult scanResult) Overrides io. Doc from io. Set ScanResult backreferences in info objects after scan has completed.
| |
| toStringInternal | back to summary |
|---|---|
| pack-priv void toStringInternal(final String className, final boolean useSimpleNames, final int modifiers, final boolean isAnnotation, final boolean isInterface, final AnnotationInfoList annotationsToExclude, final StringBuilder buf) Render into String form.
| |
| toStringInternal | back to summary |
|---|---|
| protected void toStringInternal(final boolean useSimpleNames, final AnnotationInfoList annotationsToExclude, final StringBuilder buf) Implements abstract io. To string internal.
| |