Skip navigation links
powermock-reflect
A B C F G H I M N O P S T U V W 

A

AllFieldsMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AllFieldsMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
areAllMethodsStatic(Method...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Are all methods static.
AssignableFromFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AssignableFromFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
AssignableToFieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
AssignableToFieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
 

B

BoxedWrapper - Class in org.powermock.reflect.internal.primitivesupport
The purpose of the Primitive Wrapper is to provide methods that deals with translating wrapper types to its related primitive type.
BoxedWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
 

C

checkIfParameterTypesAreSame(boolean, Class<?>[], Class<?>[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Check if parameter types are same.
ComparatorFactory - Class in org.powermock.reflect.internal.comparator
This comparator factory is used to create Comparators for Whitebox which are used to find best candidates for constructor and method invocation.
ComparatorFactory.ConstructorComparator - Class in org.powermock.reflect.internal.comparator
 
ComparatorFactory.MethodComparator - Class in org.powermock.reflect.internal.comparator
 
compare(Constructor, Constructor) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.ConstructorComparator
 
compare(Method, Method) - Method in class org.powermock.reflect.internal.comparator.ComparatorFactory.MethodComparator
 
ConstructorNotFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a constructor was not found.
ConstructorNotFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.ConstructorNotFoundException
Constructs a new exception with the specified detail message.
ConstructorNotFoundException(String, Throwable) - Constructor for exception org.powermock.reflect.exceptions.ConstructorNotFoundException
Constructs a new runtime exception with the specified detail message and cause.
createConstructorComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 
createMethodComparator() - Static method in class org.powermock.reflect.internal.comparator.ComparatorFactory
 

F

FieldAnnotationMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldAnnotationMatcherStrategy(Class<? extends Annotation>[]) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
FieldMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
Class that should be implemented by field matching strategies.
FieldMatcherStrategy() - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
 
FieldMatchingStrategy - Enum in org.powermock.reflect.matching
Defines strategies for field matching.
FieldNameMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldNameMatcherStrategy(String) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
FieldNotFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a field was not found.
FieldNotFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.FieldNotFoundException
Constructs a new exception with the specified detail message.
FieldTypeMatcherStrategy - Class in org.powermock.reflect.internal.matcherstrategies
 
FieldTypeMatcherStrategy(Class<?>) - Constructor for class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
findConstructorOrThrowException(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns any constructor.
findDefaultConstructorOrThrowException(Class<?>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns the default constructor.
findMethod(Class<T>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a method based on the input parameters.
findMethodOrThrowException(Object, Class<?>, String, Object[]) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain method.
findMethodOrThrowException(Class<?>, String, Class<?>...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Find method or throw exception.
findUniqueConstructorOrThrowException(Class<?>, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Finds and returns a certain constructor.

G

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.
getFieldValue(Field, Object) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
 
getFieldValue(Field, Object) - Static method in class org.powermock.reflect.Whitebox
 
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.

H

hasBoxedCounterPart(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.BoxedWrapper
Returns true if type has a primitive counter-part.
hasPrimitiveCounterPart(Class<?>) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Returns true if type has a primitive counter-part.

I

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.

M

matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableToFieldTypeMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
A field matcher that checks if a field matches a given criteria.
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
matches(Field) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
MethodInvocationException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a method invocation failed.
MethodInvocationException(String) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new exception with the specified detail message.
MethodInvocationException(String, Throwable) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new runtime exception with the specified detail message and cause.
MethodInvocationException(Throwable) - Constructor for exception org.powermock.reflect.exceptions.MethodInvocationException
Constructs a new exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
MethodNotFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that a method was not found.
MethodNotFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.MethodNotFoundException
Constructs a new exception with the specified detail message.

N

newInstance(Class<T>) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Create a new instance of a class without invoking its constructor.
newInstance(Class<T>) - Static method in class org.powermock.reflect.Whitebox
Create a new instance of a class without invoking its constructor.
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.AllFieldsMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldMatcherStrategy
Throws an FieldNotFoundException if the strategy criteria could not be found.
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
notFound(Class<?>, boolean) - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 

O

org.powermock.reflect - package org.powermock.reflect
 
org.powermock.reflect.exceptions - package org.powermock.reflect.exceptions
 
org.powermock.reflect.internal - package org.powermock.reflect.internal
 
org.powermock.reflect.internal.comparator - package org.powermock.reflect.internal.comparator
 
org.powermock.reflect.internal.matcherstrategies - package org.powermock.reflect.internal.matcherstrategies
 
org.powermock.reflect.internal.primitivesupport - package org.powermock.reflect.internal.primitivesupport
 
org.powermock.reflect.internal.proxy - package org.powermock.reflect.internal.proxy
 
org.powermock.reflect.matching - package org.powermock.reflect.matching
 

P

performMethodInvocation(Object, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Perform method invocation.
PrimitiveWrapper - Class in org.powermock.reflect.internal.primitivesupport
The purpose of the Primitive Wrapper is to provide methods that deals with translating wrapper types to its related primitive type.
PrimitiveWrapper() - Constructor for class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
 
ProxyFrameworks - Class in org.powermock.reflect.internal.proxy
 
ProxyFrameworks() - Constructor for class org.powermock.reflect.internal.proxy.ProxyFrameworks
 

S

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.

T

throwExceptionIfFieldWasNotFound(Class<?>, String, Field) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception if field was not found.
throwExceptionIfMethodWasNotFound(Class<?>, String, Method, Object...) - Static method in class org.powermock.reflect.internal.WhiteboxImpl
Throw exception if method was not found.
TooManyConstructorsFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many constructors were found.
TooManyConstructorsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyConstructorsFoundException
Constructs a new exception with the specified detail message.
TooManyFieldsFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many fields were found.
TooManyFieldsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyFieldsFoundException
Constructs a new exception with the specified detail message.
TooManyMethodsFoundException - Exception in org.powermock.reflect.exceptions
A run-time exception that may be thrown to indicate that too many methods were found.
TooManyMethodsFoundException(String) - Constructor for exception org.powermock.reflect.exceptions.TooManyMethodsFoundException
Constructs a new exception with the specified detail message.
toPrimitiveType(Class<?>[]) - Static method in class org.powermock.reflect.internal.primitivesupport.PrimitiveWrapper
Convert all wrapper types in types to their primitive counter parts.
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.AssignableFromFieldTypeMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldAnnotationMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldNameMatcherStrategy
 
toString() - Method in class org.powermock.reflect.internal.matcherstrategies.FieldTypeMatcherStrategy
 
TypeUtils - Class in org.powermock.reflect.internal
Utilities for types.
TypeUtils() - Constructor for class org.powermock.reflect.internal.TypeUtils
 

U

UnproxiedType - Interface in org.powermock.reflect.internal.proxy
 

V

valueOf(String) - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.powermock.reflect.matching.FieldMatchingStrategy
Returns an array containing the constants of this enum type, in the order they are declared.

W

Whitebox - Class in org.powermock.reflect
Various utilities for accessing internals of a class.
Whitebox() - Constructor for class org.powermock.reflect.Whitebox
 
WhiteboxImpl - Class in org.powermock.reflect.internal
Various utilities for accessing internals of a class.
WhiteboxImpl() - Constructor for class org.powermock.reflect.internal.WhiteboxImpl
 
A B C F G H I M N O P S T U V W 
Skip navigation links
powermock-reflect