LightJason - AgentSpeak(L++)
|
annotation base More...
Public Member Functions | |
final EType | id () |
returns the type of the annotation More... | |
final T | throwvaluenotassignableto ( @Nonnull final Class<?>... p_class) throws IllegalArgumentException |
throws an illegal argument exception iif the value is not assignable to the class More... | |
final< N > N | value () |
returns the data of the annotation if exists More... | |
final boolean | valueassignableto ( @Nonnull final Class<?>... p_class) |
checkes assignable of the value More... | |
Public Member Functions inherited from org.lightjason.agentspeak.language.instantiable.plan.annotation.IAnnotation< T > | |
Stream< IVariable<?> > | variables () |
returns a stream of variables More... | |
Protected Member Functions | |
IBaseAnnotation ( @Nonnull final EType p_type, @Nullable final T p_value) | |
ctor More... | |
Protected Attributes | |
final EType | m_type |
annotation type More... | |
final T | m_value |
number data More... | |
T | annotation data |
Definition at line 40 of file IBaseAnnotation.java.
|
protected |
p_type | type |
p_value | data |
Definition at line 57 of file IBaseAnnotation.java.
final EType org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.id | ( | ) |
Implements org.lightjason.agentspeak.language.instantiable.plan.annotation.IAnnotation< T >.
Definition at line 65 of file IBaseAnnotation.java.
References org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.m_type.
final T org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.throwvaluenotassignableto | ( | @Nonnull final Class<?>... | p_class | ) | throws IllegalArgumentException |
p_class | assignable class |
IllegalArgumentException | on assignable error |
Implements org.lightjason.agentspeak.language.IAssignable< T >.
Definition at line 86 of file IBaseAnnotation.java.
References org.lightjason.agentspeak.common.CCommon.languagestring(), org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.m_value, and org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.valueassignableto().
final<N> N org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.value | ( | ) |
Implements org.lightjason.agentspeak.language.instantiable.plan.annotation.IAnnotation< T >.
Definition at line 73 of file IBaseAnnotation.java.
References org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.m_value.
final boolean org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.valueassignableto | ( | @Nonnull final Class<?>... | p_class | ) |
p_class | class |
Implements org.lightjason.agentspeak.language.IAssignable< T >.
Definition at line 79 of file IBaseAnnotation.java.
References org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.m_value.
Referenced by org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.throwvaluenotassignableto().
|
protected |
Definition at line 49 of file IBaseAnnotation.java.
Referenced by org.lightjason.agentspeak.language.instantiable.plan.annotation.CAtomAnnotation< T >.hashCode(), org.lightjason.agentspeak.language.instantiable.plan.annotation.CValueAnnotation< T >.hashCode(), org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.id(), org.lightjason.agentspeak.language.instantiable.plan.annotation.CAtomAnnotation< T >.toString(), and org.lightjason.agentspeak.language.instantiable.plan.annotation.CValueAnnotation< T >.toString().
|
protected |
Definition at line 45 of file IBaseAnnotation.java.
Referenced by org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.throwvaluenotassignableto(), org.lightjason.agentspeak.language.instantiable.plan.annotation.CValueAnnotation< T >.toString(), org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.value(), org.lightjason.agentspeak.language.instantiable.plan.annotation.IBaseAnnotation< T >.valueassignableto(), and org.lightjason.agentspeak.language.instantiable.plan.annotation.CValueAnnotation< T >.variables().