Package com.fasterxml.classmate.members
Class RawConstructor
- java.lang.Object
-
- com.fasterxml.classmate.members.RawMember
-
- com.fasterxml.classmate.members.RawConstructor
-
public final class RawConstructor extends RawMember
-
-
Field Summary
Fields Modifier and Type Field Description protected Constructor<?>
_constructor
protected int
_hashCode
-
Fields inherited from class com.fasterxml.classmate.members.RawMember
_declaringType
-
-
Constructor Summary
Constructors Constructor Description RawConstructor(ResolvedType context, Constructor<?> constructor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodKey
createKey()
Although constructors are different from other methods, we can useMethodKey
easily.boolean
equals(Object o)
Constructor<?>
getRawMember()
int
hashCode()
-
Methods inherited from class com.fasterxml.classmate.members.RawMember
getAnnotations, getDeclaringType, getModifiers, getName, isFinal, isPrivate, isProtected, isPublic, isStatic, toString
-
-
-
-
Field Detail
-
_constructor
protected final Constructor<?> _constructor
-
_hashCode
protected final int _hashCode
-
-
Constructor Detail
-
RawConstructor
public RawConstructor(ResolvedType context, Constructor<?> constructor)
-
-
Method Detail
-
createKey
public MethodKey createKey()
Although constructors are different from other methods, we can useMethodKey
easily.
-
getRawMember
public Constructor<?> getRawMember()
- Specified by:
getRawMember
in classRawMember
-
-