Package mockit.internal.injection
Class InjectionPoint
java.lang.Object
mockit.internal.injection.InjectionPoint
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Class
<?> static final Class
<? extends Annotation> final String
static final Class
<? extends Annotation> final boolean
static final Class
<?> final Type
-
Constructor Summary
ConstructorsConstructorDescriptionInjectionPoint
(Type type) InjectionPoint
(Type type, String name) InjectionPoint
(Type type, String name, boolean qualified) InjectionPoint
(Type type, String name, String qualifiedName) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
boolean
static String
getNameFromJNDILookup
(String jndiLookup) static String
getQualifiedName
(Annotation[] annotationsOnInjectionPoint) static Type
getTypeOfInjectionPointFromVarargsParameter
(Type parameterType) int
hashCode()
kindOfInjectionPoint
(AccessibleObject fieldOrConstructor) static Object
wrapInProviderIfNeeded
(Type type, Object value)
-
Field Details
-
INJECT_CLASS
-
PERSISTENCE_UNIT_CLASS
-
SERVLET_CLASS
-
CONVERSATION_CLASS
-
type
-
name
-
qualified
public final boolean qualified
-
-
Constructor Details
-
InjectionPoint
-
InjectionPoint
-
InjectionPoint
-
InjectionPoint
-
-
Method Details
-
convertToLegalJavaIdentifierIfNeeded
-
equals
-
hashCode
public int hashCode() -
wrapInProviderIfNeeded
-
kindOfInjectionPoint
@NonNull public static InjectionPoint.KindOfInjectionPoint kindOfInjectionPoint(@NonNull AccessibleObject fieldOrConstructor) -
getTypeOfInjectionPointFromVarargsParameter
-
getQualifiedName
-
getNameFromJNDILookup
-