|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectua.gradsoft.javachecker.models.JavaMethodModel
ua.gradsoft.javachecker.models.JavaTermAnnotationMethodModel
public class JavaTermAnnotationMethodModel
Annotation element.
| Constructor Summary | |
|---|---|
JavaTermAnnotationMethodModel(JavaTypeModel typeModel,
Term modifiers,
Term typeTerm,
Term identifierTerm,
Term defaultValueTerm)
create annotation field. |
|
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,JavaAnnotationInstanceModel> |
getAnnotationsMap()
get Map of annotation. |
JavaExpressionModel |
getDefaultValue()
return default value of method. |
java.util.List<JavaFormalParameterModel> |
getFormalParametersList()
get list of formal parameters. |
java.util.Map<java.lang.String,JavaFormalParameterModel> |
getFormalParametersMap()
get map of formal parameters. |
java.util.List<JavaTypeModel> |
getFormalParametersTypes()
return list of forma-parameters types. |
Term |
getModelTerm()
AnnotationMethodModel(modifiers,name,type,defaultValue, context) |
JavaTermModifiersModel |
getModifiers()
|
java.lang.String |
getName()
get name of method. |
JavaTypeModel |
getResultType()
|
java.util.List<JavaTypeModel> |
getThrowsList()
get List of throwed types in trows specification. |
JavaTopLevelBlockModel |
getTopLevelBlockModel()
return block model, if storing of block model is supported, otherwise throws NotSupportedException |
java.util.List<JavaTypeVariableAbstractModel> |
getTypeParameters()
|
boolean |
hasDefaultValue()
If method has default value |
boolean |
isSupportBlockModel()
return true if storing of block model is supported, otherwise false. |
boolean |
isSynthetic()
true for synthetic |
| Methods inherited from class ua.gradsoft.javachecker.models.JavaMethodModel |
|---|
getAttribute, getChildAttributes, getJavaFacts, getTypeModel, print, printErasedSignature, printSignature, setAttribute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JavaTermAnnotationMethodModel(JavaTypeModel typeModel,
Term modifiers,
Term typeTerm,
Term identifierTerm,
Term defaultValueTerm)
throws TermWareException
TermWareException| Method Detail |
|---|
public java.lang.String getName()
JavaMethodModel
getName in interface JavaTopLevelBlockOwnerModelgetName in class JavaMethodModelpublic JavaTermModifiersModel getModifiers()
getModifiers in class JavaMethodModel
public java.util.List<JavaTypeVariableAbstractModel> getTypeParameters()
throws TermWareException
getTypeParameters in interface JavaTopLevelBlockOwnerModelgetTypeParameters in class JavaMethodModelTermWareException
public JavaTypeModel getResultType()
throws TermWareException
getResultType in class JavaMethodModelTermWareExceptionpublic java.util.List<JavaTypeModel> getFormalParametersTypes()
JavaMethodModel
getFormalParametersTypes in class JavaMethodModelpublic java.util.List<JavaFormalParameterModel> getFormalParametersList()
JavaMethodModel
getFormalParametersList in interface JavaTopLevelBlockOwnerModelgetFormalParametersList in class JavaMethodModelpublic java.util.Map<java.lang.String,JavaFormalParameterModel> getFormalParametersMap()
JavaMethodModel
getFormalParametersMap in interface JavaTopLevelBlockOwnerModelgetFormalParametersMap in class JavaMethodModelpublic java.util.Map<java.lang.String,JavaAnnotationInstanceModel> getAnnotationsMap()
JavaMethodModel
getAnnotationsMap in interface JavaTopLevelBlockOwnerModelgetAnnotationsMap in class JavaMethodModelpublic java.util.List<JavaTypeModel> getThrowsList()
JavaTopLevelBlockOwnerModel
public boolean isSupportBlockModel()
JavaTopLevelBlockOwnerModel
public JavaTopLevelBlockModel getTopLevelBlockModel()
JavaTopLevelBlockOwnerModel
public boolean isSynthetic()
JavaMethodModel
isSynthetic in class JavaMethodModel
public Term getModelTerm()
throws TermWareException,
EntityNotFoundException
TermWareException
EntityNotFoundExceptionpublic boolean hasDefaultValue()
JavaMethodModel
hasDefaultValue in class JavaMethodModel
public JavaExpressionModel getDefaultValue()
throws TermWareException,
EntityNotFoundException
JavaMethodModel
getDefaultValue in class JavaMethodModelTermWareException
EntityNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||