public abstract static class ClassTool.Sub<T extends ClassTool.Sub> extends Object implements Comparable<T>
Constructor and Description |
---|
Sub() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(T that)
Compare unique names of inspected and given objects
|
boolean |
equals(Object obj) |
List<Annotation> |
getAnnotations()
Returns the
Annotation s of the element being inspected. |
protected abstract AnnotatedElement |
getElement() |
abstract String |
getJavadocRef() |
protected abstract int |
getModifiers() |
abstract String |
getName() |
protected abstract String |
getSubType() |
abstract String |
getUniqueName() |
int |
hashCode() |
boolean |
isAbstract() |
boolean |
isDeprecated()
Inspected object deprecation status
|
boolean |
isFinal() |
boolean |
isInterface() |
boolean |
isNative() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isStrict() |
boolean |
isSynchronized() |
boolean |
isTransient() |
boolean |
isVolatile() |
String |
toString() |
protected abstract AnnotatedElement getElement()
protected abstract int getModifiers()
protected abstract String getSubType()
public abstract String getName()
public abstract String getUniqueName()
public abstract String getJavadocRef()
public List<Annotation> getAnnotations()
Annotation
s of the element being inspected.public boolean isDeprecated()
public boolean isPublic()
public boolean isProtected()
public boolean isPrivate()
public boolean isStatic()
public boolean isFinal()
public boolean isInterface()
public boolean isNative()
public boolean isStrict()
public boolean isSynchronized()
public boolean isTransient()
public boolean isVolatile()
public boolean isAbstract()
public int compareTo(T that)
compareTo
in interface Comparable<T extends ClassTool.Sub>
that
- object to compare topublic boolean equals(Object obj)
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.