Class BasicConstructorLink
java.lang.Object
org.tudalgo.algoutils.tutor.general.reflections.BasicLink
org.tudalgo.algoutils.tutor.general.reflections.BasicConstructorLink
- All Implemented Interfaces:
ConstructorLink,Link,WithModifiers,WithType,WithTypeList
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescription<T> TintReturn the bit representation of the modifiers of this link.static BasicConstructorLinkof(Constructor<?> constructor) Returns the constructor link for the given constructor.Constructor<?>type()Returns the type of this link.typeList()Returns the list of this link.Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tudalgo.algoutils.tutor.general.reflections.ConstructorLink
kind
-
Method Details
-
of
Returns the constructor link for the given constructor.
- Parameters:
constructor- the constructor- Returns:
- the constructor link
-
reflection
- Specified by:
reflectionin interfaceLink
-
typeList
Description copied from interface:WithTypeListReturns the list of this link.
- Specified by:
typeListin interfaceWithTypeList- Returns:
- the list of types
-
invoke
- Specified by:
invokein interfaceConstructorLink- Throws:
Exception
-
modifiers
public int modifiers()Description copied from interface:WithModifiersReturn the bit representation of the modifiers of this link.
- Specified by:
modifiersin interfaceWithModifiers- Returns:
- the modifiers
-
type
Description copied from interface:WithTypeReturns the type of this link.
-