public class ClassInfo
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.ClassLoader | 
classloader
The classloader with which this info was loaded. 
 | 
protected java.lang.String | 
geninfo
The generic type info (e.g. 
 | 
protected java.lang.Class<?> | 
type
The service interface type. 
 | 
protected java.lang.String | 
typename
The service interface type as string. 
 | 
| Constructor and Description | 
|---|
ClassInfo()
Create a new class info. 
 | 
ClassInfo(java.lang.Class<?> type)
Create a new class info. 
 | 
ClassInfo(java.lang.String typename)
Create a new class info. 
 | 
ClassInfo(java.lang.reflect.Type type)
Create a new class info. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)
Test if object is equal to this. 
 | 
java.lang.String | 
getGenericTypeName()
Get the generic type name. 
 | 
java.lang.String | 
getGeninfo()
Get the geninfo. 
 | 
java.lang.String | 
getPrefixNotation()
Get class info in prefix notation, i.e. 
 | 
java.lang.Class<?> | 
getType(java.lang.ClassLoader cl)
Get the type. 
 | 
java.lang.Class<?> | 
getType(java.lang.ClassLoader cl,
       java.lang.String[] imports)
Get the type. 
 | 
java.lang.Class<?> | 
getType0()
Get the type, if available 
 | 
java.lang.String | 
getTypeName()
Get the type name. 
 | 
int | 
hashCode()
Get the hashcode. 
 | 
void | 
setGeninfo(java.lang.String geninfo)
The geninfo to set. 
 | 
void | 
setTheType(java.lang.Class<?> type)
Set the type. 
 | 
void | 
setTypeName(java.lang.String typename)
Set the name. 
 | 
java.lang.String | 
toString()
Get the string representation. 
 | 
protected java.lang.String typename
protected java.lang.Class<?> type
protected java.lang.String geninfo
protected java.lang.ClassLoader classloader
public ClassInfo()
public ClassInfo(java.lang.Class<?> type)
type - The class info.public ClassInfo(java.lang.reflect.Type type)
type - The class info.public ClassInfo(java.lang.String typename)
typename - The class name.public java.lang.String getTypeName()
public void setTypeName(java.lang.String typename)
typename - The name to set.public java.lang.Class<?> getType(java.lang.ClassLoader cl)
public java.lang.Class<?> getType(java.lang.ClassLoader cl,
                                  java.lang.String[] imports)
public java.lang.Class<?> getType0()
public void setTheType(java.lang.Class<?> type)
type - The type to set.public java.lang.String getGenericTypeName()
public java.lang.String getGeninfo()
public void setGeninfo(java.lang.String geninfo)
geninfo - The geninfo to setpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getPrefixNotation()