Classes Class
The utility class for class
objects.
public static class Classes
- Inheritance
-
Classes
Methods
Get |
Returns the list of instance fields of the specified class annotated with the specified annotation. |
Get |
Returns the list of instance methods of the specified class annotated with the specified annotation. |
Get |
Returns the list of static fields of the specified class annotated with the specified annotation. |
Get |
Returns the list of static methods of the specified class annotated with the specified annotation. |
Methods Detail
GetInstanceFields<T>(Type)
Returns the list of instance fields of the specified class annotated with the specified annotation.
public static IEnumerable<FieldInfo> GetInstanceFields<T>(Type clazz)
Type Parameters
The annotation to the instance fields.
Parameters
- clazz
- Type
The class.
Returns
The list of instance fields.
GetInstanceMethods<T>(Type)
Returns the list of instance methods of the specified class annotated with the specified annotation.
public static IEnumerable<MethodInfo> GetInstanceMethods<T>(Type clazz)
Type Parameters
The annotation to the instance methods.
Parameters
- clazz
- Type
The class.
Returns
The list of instance methods.
GetStaticFields<T>(Type)
Returns the list of static fields of the specified class annotated with the specified annotation.
public static IEnumerable<FieldInfo> GetStaticFields<T>(Type clazz)
Type Parameters
The annotation to the static fields.
Parameters
- clazz
- Type
The class.
Returns
The list of static fields.
GetStaticMethods<T>(Type)
Returns the list of static methods of the specified class annotated with the specified annotation.
public static IEnumerable<MethodInfo> GetStaticMethods<T>(Type clazz)
Type Parameters
The annotation to the static methods.
Parameters
- clazz
- Type
The class.
Returns
The list of static methods.