A C D E F H L M O P R S T W

A

andReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
Deprecated. 
andReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Deprecated. Since version 1.4.1, use MethodStubStrategy.toReturn(Object) instead.

C

ClassLoaderUtil - Class in org.powermock.api.support
 
ClassLoaderUtil() - Constructor for class org.powermock.api.support.ClassLoaderUtil
 
ClassReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
Specifies the replace strategy for a class.
constructor(Class<T>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns a constructor specified in declaringClass.
constructor(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns any one constructor specified in declaringClass.
constructors(Constructor<?>, Constructor<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Convenience method to get a constructor from a class.
constructorsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all constructors in the supplied class(es).

D

defaultConstructorIn(Class<T>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Returns the default constructor in declaringClass

E

everythingDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all constructors and methods in the supplied class(es).

F

field(Class<?>, String) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a field from a class.
fields(Class<?>, String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's that matches the supplied list of field names.
fields(Class<?>) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all fields in a class hierarchy.
fields(Field, Field...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's.
fields(Class<?>, String[]) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's that matches the supplied list of field names.

H

hasClass(Class<T>, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Check whether a classloader can load the given class.

L

loadClass(Class<T>, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Loads a class with a specific classloader, wraps the ClassNotFoundException in a runtime exeception.
loadClass(String) - Static method in class org.powermock.api.support.ClassLoaderUtil
Loads a class from the current classloader
loadClass(String, ClassLoader) - Static method in class org.powermock.api.support.ClassLoaderUtil
Load a class from a specific classloader

M

MemberMatcher - Class in org.powermock.api.support.membermodification
Finds members in classes.
MemberMatcher() - Constructor for class org.powermock.api.support.membermodification.MemberMatcher
 
MemberModifier - Class in org.powermock.api.support.membermodification
Contains various utilities for modifying members of classes such as constructors, fields and methods.
MemberModifier() - Constructor for class org.powermock.api.support.membermodification.MemberModifier
 
method(Class<?>, String, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a method when it cannot be determined by methodName or parameter types only.
method(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get a method without having to specify the method name.
MethodProxy - Class in org.powermock.api.support
 
MethodProxy() - Constructor for class org.powermock.api.support.MethodProxy
 
MethodReplaceStrategy - Interface in org.powermock.api.support.membermodification.strategy
Specifies the replace strategy for a method.
MethodReplaceStrategyImpl - Class in org.powermock.api.support.membermodification.strategy.impl
 
MethodReplaceStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
methods(Class<?>, String, String...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Method's that matches the supplied list of method names.
methods(Method, Method...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Field's.
methods(Class<?>, String[]) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get an array of Method's that matches the supplied list of method names.
methodsDeclaredIn(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.membermodification.MemberMatcher
Get all methods in a class hierarchy of the supplied classes.
MethodStubStrategy<T> - Interface in org.powermock.api.support.membermodification.strategy
Specifies the return value when stubbing a method.
MethodStubStrategyImpl<T> - Class in org.powermock.api.support.membermodification.strategy.impl
 
MethodStubStrategyImpl(Method) - Constructor for class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 

O

org.powermock.api.support - package org.powermock.api.support
 
org.powermock.api.support.membermodification - package org.powermock.api.support.membermodification
 
org.powermock.api.support.membermodification.strategy - package org.powermock.api.support.membermodification.strategy
 
org.powermock.api.support.membermodification.strategy.impl - package org.powermock.api.support.membermodification.strategy.impl
 

P

proxy(Method, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for this method.
proxy(Class<?>, String, InvocationHandler) - Static method in class org.powermock.api.support.MethodProxy
Add a proxy for a method declared in class declaringClass.

R

replace(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Replace a method invocation.

S

SafeExceptionRethrower - Class in org.powermock.api.support
 
SafeExceptionRethrower() - Constructor for class org.powermock.api.support.SafeExceptionRethrower
 
safeRethrow(Throwable) - Static method in class org.powermock.api.support.SafeExceptionRethrower
 
stub(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Add a method that should be intercepted and return another value (i.e.
Stubber - Class in org.powermock.api.support
 
Stubber() - Constructor for class org.powermock.api.support.Stubber
 
stubMethod(Method, Object) - Static method in class org.powermock.api.support.Stubber
Add a method that should be intercepted and return another value ( returnObject) (i.e.
stubMethod(Class<?>, String, Object) - Static method in class org.powermock.api.support.Stubber
Add a method that should be intercepted and return another value ( returnObject) (i.e.
suppress(Method) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a specific method.
suppress(Method[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple methods.
suppress(Constructor<?>) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a constructor.
suppress(Constructor<?>[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple constructors.
suppress(Field) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress a field.
suppress(Field[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress multiple fields.
suppress(AccessibleObject[]) - Static method in class org.powermock.api.support.membermodification.MemberModifier
Suppress an array of accessible objects.
SuppressCode - Class in org.powermock.api.support
 
SuppressCode() - Constructor for class org.powermock.api.support.SuppressCode
 
suppressConstructor(Constructor<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress constructor calls on specific constructors only.
suppressConstructor(Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress all constructors in the given class and it's super classes.
suppressConstructor(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
Suppress all constructors in the given class.
suppressField(Field...) - Static method in class org.powermock.api.support.SuppressCode
Suppress specific fields.
suppressField(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress all fields for these classes.
suppressField(Class<?>, String...) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Method...) - Static method in class org.powermock.api.support.SuppressCode
Suppress specific method calls on all types containing this method.
suppressMethod(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress all methods for these classes.
suppressMethod(Class<?>, String, String...) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Class<?>, String[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress multiple methods for a class.
suppressMethod(Class<?>, boolean) - Static method in class org.powermock.api.support.SuppressCode
suSuppress all methods for this class.
suppressMethod(Class<?>, String, Class<?>[]) - Static method in class org.powermock.api.support.SuppressCode
Suppress a specific method call.
suppressSpecificConstructor(Class<?>, Class<?>...) - Static method in class org.powermock.api.support.SuppressCode
This method can be used to suppress the code in a specific constructor.

T

toReturn(T) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
toReturn(T) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Stubs the method to return the specified returnValue.
toThrow(Throwable) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodStubStrategyImpl
 
toThrow(Throwable) - Method in interface org.powermock.api.support.membermodification.strategy.MethodStubStrategy
Stubs the method to throw the specified throwable.

W

with(Class<?>) - Method in interface org.powermock.api.support.membermodification.strategy.ClassReplaceStrategy
Replaces all method invocations on class specified class with method invocation to cls.
with(Method) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
with(InvocationHandler) - Method in class org.powermock.api.support.membermodification.strategy.impl.MethodReplaceStrategyImpl
 
with(Method) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
Replaces the method invocation with this method.
with(InvocationHandler) - Method in interface org.powermock.api.support.membermodification.strategy.MethodReplaceStrategy
Replaces the method invocation with an invocation handler

A C D E F H L M O P R S T W

Copyright © 2007-2013. All Rights Reserved.