| java.lang.Object com.silvermindsoftware.hitch.reflect.ClassInfo
ClassInfo | public class ClassInfo (Code) | | Copyright 2007 Brandon Goodin
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
|
Method Summary | |
public Field | getField(String name) Retrieves a single field (public, private, protected or package) from the provided class
or one of its superclasses. | public Field[] | getFields() Array of all fields (public, private, protected or package) for the provided class
and all of its superclasses. | public Method | getGetterMethod(String name) Retrieves a single setter method (public, private, protected or package) from the provided class
or one of its superclasses. | public Method[] | getGetters() Array of all getter methods (public, private, protected or package) for the provided
class and all of its superclasses. | public Method | getMethod(String name, Class[] parameterTypes) Retrieves a single method that is not a setter or getter (public, private, protected or package)
from the provided class or one of its superclasses. | public Method[] | getMethods() Array of all methods that are not setters or getters (public, private, protected or package)
for the provided class and all of its superclasses. | public Method | getSetterMethod(String name, Class[] parameterTypes) Retrieves a single getter method (public, private, protected or package) from the provided class
or one of its superclasses. | public Method[] | getSetters() Array of all setter methods (public, private, protected or package) for the provided
class and all of its superclasses. |
getField | public Field getField(String name) throws NoSuchFieldException(Code) | | Retrieves a single field (public, private, protected or package) from the provided class
or one of its superclasses. The lowest subclass field is collected when there is a duplicate.
A duplicate is defined as having the same field name and type.
|
getFields | public Field[] getFields()(Code) | | Array of all fields (public, private, protected or package) for the provided class
and all of its superclasses. The lowest subclass field is collected when there is
a duplicate. A duplicate is defined as having the same field name and type .
|
getGetterMethod | public Method getGetterMethod(String name) throws NoSuchMethodException(Code) | | Retrieves a single setter method (public, private, protected or package) from the provided class
or one of its superclasses. The lowest subclass method is collected when there is a duplicate.
A duplicate is defined as having the same method name and parameter types.
|
getGetters | public Method[] getGetters()(Code) | | Array of all getter methods (public, private, protected or package) for the provided
class and all of its superclasses. The lowest subclass method is collected when there
is a duplicate. A duplicate is defined as having the same method name and parameter
types.
|
getMethod | public Method getMethod(String name, Class[] parameterTypes) throws NoSuchMethodException(Code) | | Retrieves a single method that is not a setter or getter (public, private, protected or package)
from the provided class or one of its superclasses. Only the lowest subclass method is collected
when there is a duplicate. A duplicate is defined as having the same method name and parameter
types.
|
getMethods | public Method[] getMethods()(Code) | | Array of all methods that are not setters or getters (public, private, protected or package)
for the provided class and all of its superclasses. The lowest subclass method is collected
when there is a duplicate. A duplicate is defined as having the same method name and parameter
types.
|
getSetterMethod | public Method getSetterMethod(String name, Class[] parameterTypes) throws NoSuchMethodException(Code) | | Retrieves a single getter method (public, private, protected or package) from the provided class
or one of its superclasses. The lowest subclass method is collected when there is a duplicate.
A duplicate is defined as having the same method name and parameter types.
|
getSetters | public Method[] getSetters()(Code) | | Array of all setter methods (public, private, protected or package) for the provided
class and all of its superclasses. The lowest subclass method is collected when there
is a duplicate. A duplicate is defined as having the same method name and parameter
types.
|
|
|