private class ConfigurationClassParser.SourceClass extends java.lang.Object implements Ordered
Modifier and Type | Field and Description |
---|---|
private AnnotationMetadata |
metadata |
private java.lang.Object |
source |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
SourceClass(java.lang.Object source) |
Modifier and Type | Method and Description |
---|---|
ConfigurationClass |
asConfigClass(ConfigurationClass importedBy) |
boolean |
equals(java.lang.Object other) |
java.util.Collection<ConfigurationClassParser.SourceClass> |
getAnnotationAttributes(java.lang.String annType,
java.lang.String attribute) |
java.util.Set<ConfigurationClassParser.SourceClass> |
getAnnotations() |
java.util.Set<ConfigurationClassParser.SourceClass> |
getInterfaces() |
java.util.Collection<ConfigurationClassParser.SourceClass> |
getMemberClasses() |
AnnotationMetadata |
getMetadata() |
int |
getOrder()
Get the order value of this object.
|
private ConfigurationClassParser.SourceClass |
getRelated(java.lang.String className) |
ConfigurationClassParser.SourceClass |
getSuperClass() |
int |
hashCode() |
boolean |
isAssignable(java.lang.Class<?> clazz) |
java.lang.Class<?> |
loadClass() |
java.lang.String |
toString() |
private final java.lang.Object source
private final AnnotationMetadata metadata
public final AnnotationMetadata getMetadata()
public int getOrder()
Ordered
Higher values are interpreted as lower priority. As a consequence,
the object with the lowest value has the highest priority (somewhat
analogous to Servlet load-on-startup
values).
Same order values will result in arbitrary sort positions for the affected objects.
getOrder
in interface Ordered
Ordered.HIGHEST_PRECEDENCE
,
Ordered.LOWEST_PRECEDENCE
public java.lang.Class<?> loadClass() throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public boolean isAssignable(java.lang.Class<?> clazz) throws java.io.IOException
java.io.IOException
public ConfigurationClass asConfigClass(ConfigurationClass importedBy) throws java.io.IOException
java.io.IOException
public java.util.Collection<ConfigurationClassParser.SourceClass> getMemberClasses() throws java.io.IOException
java.io.IOException
public ConfigurationClassParser.SourceClass getSuperClass() throws java.io.IOException
java.io.IOException
public java.util.Set<ConfigurationClassParser.SourceClass> getInterfaces() throws java.io.IOException
java.io.IOException
public java.util.Set<ConfigurationClassParser.SourceClass> getAnnotations() throws java.io.IOException
java.io.IOException
public java.util.Collection<ConfigurationClassParser.SourceClass> getAnnotationAttributes(java.lang.String annType, java.lang.String attribute) throws java.io.IOException
java.io.IOException
private ConfigurationClassParser.SourceClass getRelated(java.lang.String className) throws java.io.IOException
java.io.IOException
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object