- getAllConstructors(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all declared constructors in the class and set accessible to
true
.
- getAllFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields in a class hierarchy! Both declared an non-declared (no
duplicates).
- getAllInstanceFields(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all instance fields for a particular object.
- getAllInstanceFields(Object) - Static method in class org.powermock.reflect.Whitebox
-
Get all instance fields for a particular object.
- getAllMethodExcept(Class<T>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the all method except.
- getAllMethods(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all methods in a class hierarchy! Both declared an non-declared (no
duplicates).
- getAllMethodsExcept(Class<T>, String, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the all metods except.
- getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all static fields for a particular type.
- getAllStaticFields(Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get all static fields for a particular type.
- getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the type of an anonymous inner class.
- getAnonymousInnerClassType(Class<?>, int) - Static method in class org.powermock.reflect.Whitebox
-
Get the type of an anonymous inner class.
- getBestMethodCandidate(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the best method candidate.
- getBoxedFromPrimitiveType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
-
Get the wrapped counter part from a primitive type.
- getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a (declared) constructor from a class type
without having to catch the checked exceptions otherwise required.
- getConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a (declared) constructor from a class type
without having to catch the checked exceptions otherwise required.
- getDefaultValue(Class<?>) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value for a type.
- getDefaultValue(String) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value of a type with based on its fully-qualified name.
- getDefaultValueAsString(String) - Static method in class org.powermock.reflect.internal.TypeUtils
-
Get the default value of a type with based on its fully-qualified name.
- getField(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a field from a class type.
- getField(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a field from a class type.
- getFields(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Field
's that matches the supplied list of field
names.
- getFields(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
-
Get an array of Field
's that matches the supplied list of field
names.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>, Class<? extends Annotation>...) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields annotated with a particular annotation.
- getFieldsAnnotatedWith(Object, Class<? extends Annotation>[]) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields annotated with a particular annotation.
- getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get all fields assignable from a particular type.
- getFieldsOfType(Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get all fields assignable from a particular type.
- getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the first parent constructor defined in a super class of
klass
.
- getFirstParentConstructor(Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the first parent constructor defined in a super class of
klass
.
- getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an inner class type.
- getInnerClassType(Class<?>, String) - Static method in class org.powermock.reflect.Whitebox
-
Get an inner class type
- getInterfaces() - Method in interface org.powermock.reflect.internal.proxy.UnproxiedType
-
- getInternalState(Object, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the value of a field using reflection.
- getInternalState(Object, String) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection.
- getInternalState(Object, String, Class<?>, Class<T>) - Static method in class org.powermock.reflect.Whitebox
-
- getInternalState(Object, Class<T>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection based on the fields type.
- getInternalState(Object, Class<T>, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Get the value of a field using reflection based on the field type.
- getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get the type of a local inner class.
- getLocalClassType(Class<?>, int, String) - Static method in class org.powermock.reflect.Whitebox
-
Get the type of a local inner class.
- getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethod(Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Convenience method to get a method from a class type without having to
catch the checked exceptions otherwise required.
- getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Method
's that matches the supplied list of method
names.
- getMethods(Class<?>, String, Class<?>[], boolean) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Get an array of Method
's that matches the method name and whose
argument types are assignable from expectedTypes
.
- getMethods(Class<?>, String...) - Static method in class org.powermock.reflect.Whitebox
-
Get an array of Method
's that matches the supplied list of method
names.
- getOriginalType() - Method in interface org.powermock.reflect.internal.proxy.UnproxiedType
-
- getOriginalUnmockedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the unmocked type.
- getPrimitiveFromWrapperType(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
-
Get the primitive counter part from a wrapped type.
- getType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the type.
- getType(Object) - Static method in class org.powermock.reflect.Whitebox
-
- getUnproxiedType(Class<?>) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
-
- getUnproxiedType(Object) - Method in class org.powermock.reflect.internal.proxy.ProxyFrameworks
-
- getUnproxiedType(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- getUnproxyType(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Gets the type.
- getUnproxyType(Object) - Static method in class org.powermock.reflect.Whitebox
-
Gets the type.
- invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a constructor.
- invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a constructor.
- invokeConstructor(Class<T>, Class<?>[], Object[]) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a constructor.
- invokeConstructor(Class<T>, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a constructor.
- invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method.
- invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in cases where power mock cannot
automatically determine the type of the parameters, for example when
mixing primitive types and wrapper types in the same method.
- invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in a subclass (defined by
definedIn
) in cases where power mock cannot automatically
determine the type of the parameters, for example when mixing primitive
types and wrapper types in the same method.
- invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method in that is located in a subclass
of the tested instance.
- invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private method in that is located in a subclass of an instance.
- invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Invoke a private or inner class method.
- invokeMethod(Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method without the need to specify the
method name.
- invokeMethod(Class<?>, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class static method without the need to specify
the method name.
- invokeMethod(Object, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method.
- invokeMethod(Object, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in cases where PowerMock cannot
automatically determine the type of the parameters, for example when
mixing primitive types and wrapper types in the same method.
- invokeMethod(Object, String, Class<?>, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in a subclass (defined by
definedIn
) in cases where PowerMock cannot automatically
determine the type of the parameters, for example when mixing primitive
types and wrapper types in the same method.
- invokeMethod(Object, Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in that is located in a subclass
of the instance.
- invokeMethod(Object, Class<?>, String, Class<?>[], Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a private or inner class method in that is located in a subclass
of the instance.
- invokeMethod(Class<?>, String, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Invoke a static private or inner class method.
- isClass(Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Checks if is class.
- setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection at at specific place in the
class hierarchy (where).
- setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection at a specific location (
where) in the class hierarchy.
- setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, String, Object[]) - Static method in class org.powermock.reflect.Whitebox
-
Set an array value of a field using reflection.
- setInternalState(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection at at specific place in the
class hierarchy (where).
- setInternalState(Object, String, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection.
- setInternalState(Object, Class<?>, Object, Class<?>) - Static method in class org.powermock.reflect.Whitebox
-
Set the value of a field using reflection at a specific location (
where) in the class hierarchy.
- setInternalStateFromContext(Object, Object, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the values of multiple instance fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
- setInternalStateFromContext(Object, Class<?>, Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
-
Set the values of multiple static fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, Object...) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple instance fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Class<?>, Class<?>...) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple static fields defined in a context using
reflection.
- setInternalStateFromContext(Object, Object, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple instance fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy
.
- setInternalStateFromContext(Object, Class<?>, FieldMatchingStrategy) - Static method in class org.powermock.reflect.Whitebox
-
Set the values of multiple static fields defined in a context using
reflection and using an explicit
FieldMatchingStrategy
.