|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrcf.core.framework.FrameworkHelpers
@Revision(value="$Revision: 1.10 $",
date="$Date: 2006/12/13 07:03:25 $",
tag="$Name: $")
public abstract class FrameworkHelpersTODO: Javadoc
TODO: Unit tests, Code review, Javadoc review, Seal/Finalize
| Field Summary | |
|---|---|
protected static Framework |
framework
TODO: Javadoc |
| Constructor Summary | |
|---|---|
private |
FrameworkHelpers()
TODO: Javadoc Dummy constructor to ensure that this class is never instantiated. |
| Method Summary | |
|---|---|
static Class |
erase(Type _type)
TODO: Javadoc |
static rcf.core.util.collection.set.ImmutableSet<Class> |
getClasses(String packageName)
TODO: Javadoc |
static Framework |
getFramework()
TODO: Javadoc |
static rcf.core.util.collection.set.ImmutableSet<String> |
getJavaFiles(String packageName)
TODO: Javadoc |
static File |
getPackageDirectory(String packageName)
TODO: Javadoc |
static rcf.core.util.collection.set.ImmutableSet<String> |
getPackageNames(String packageName)
TODO: Javadoc |
static rcf.core.util.collection.listset.ListSet<Class> |
interfaces(boolean includeClasses,
Class _class)
TODO: Javadoc Return a ListSet of all the interfaces which are supported by the
specified class or interface. |
static Type |
interfaceType(Class<?> child,
Class<?> parent)
TODO: Javadoc Get the parameterized type of the parent interface relative to the child. |
static Class |
nonPrimitive(Class _class)
TODO: Javadoc |
static Type |
resolveTypeParameter(TypeVariable typeVariable,
ParameterizedType parameterizedType)
TODO: Javadoc Get the actual type argument which has been substituted for the specified type variable in the specified parameterized type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Framework framework
| Constructor Detail |
|---|
private FrameworkHelpers()
| Method Detail |
|---|
public static final Class nonPrimitive(Class _class)
_class -
public static final Class erase(Type _type)
_type -
public static final rcf.core.util.collection.set.ImmutableSet<Class> getClasses(String packageName)
throws ClassNotFoundException
packageName -
ClassNotFoundExceptionpublic static final Framework getFramework()
public static final rcf.core.util.collection.set.ImmutableSet<String> getJavaFiles(String packageName)
throws ClassNotFoundException
packageName -
ClassNotFoundException
public static final File getPackageDirectory(String packageName)
throws ClassNotFoundException
packageName -
ClassNotFoundException
public static final rcf.core.util.collection.set.ImmutableSet<String> getPackageNames(String packageName)
throws ClassNotFoundException
packageName -
ClassNotFoundException
public static final rcf.core.util.collection.listset.ListSet<Class> interfaces(boolean includeClasses,
Class _class)
ListSet of all the interfaces which are supported by the
specified class or interface. This will return the interfaces in their
proper order, and will include all interface inherited from superclasses.
includeClasses - TODO_class - The class to get a listing of interfaces from.
public static final Type interfaceType(Class<?> child,
Class<?> parent)
child - The child class or interface.parent - The parent interface to get the fully parameterized type of.
retVal.getRawType() == parent.
public static final Type resolveTypeParameter(TypeVariable typeVariable,
ParameterizedType parameterizedType)
typeVariable - The type variable to get the actual type for.parameterizedType - The parameterized type to which the variable
belongs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||