类 FieldUtils
java.lang.Object
gu.sql2java.excel.utils.FieldUtils
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
FieldUtils
public FieldUtils()
-
-
方法详细资料
-
getField
Gets an accessibleFieldby name, breaking scope if requested. Superclasses/interfaces will be considered.- 参数:
cls- theClassto reflect, must not benullfieldName- the field name to obtainforceAccess- whether to break scope restrictions using theAccessibleObject.setAccessible(boolean)method.falsewill only matchpublicfields.- 返回:
- the Field object
- 抛出:
IllegalArgumentException- if the class isnull, or the field name is blank or empty or is matched at multiple places in the inheritance hierarchy
-
getAllInterfaces
Gets a
Listof all interfaces implemented by the given class and its superclasses.The order is determined by looking through each interface in turn as declared in the source file and following its hierarchy up. Then each superclass is considered in the same way. Later duplicates are ignored, so the order is maintained.
- 参数:
cls- the class to look up, may benull- 返回:
- the
Listof interfaces in order,nullif null input
-