Package org.drools.mvel.parser.ast.expr
Class RuleDeclaration
- java.lang.Object
-
- com.github.javaparser.ast.Node
-
- com.github.javaparser.ast.body.BodyDeclaration<T>
-
- com.github.javaparser.ast.body.TypeDeclaration<RuleDeclaration>
-
- org.drools.mvel.parser.ast.expr.RuleDeclaration
-
- All Implemented Interfaces:
com.github.javaparser.ast.nodeTypes.modifiers.NodeWithAccessModifiers<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPrivateModifier<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.modifiers.NodeWithProtectedModifier<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPublicModifier<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStaticModifier<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStrictfpModifier<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithAnnotations<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithJavadoc<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithMembers<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithModifiers<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithRange<com.github.javaparser.ast.Node>,com.github.javaparser.ast.nodeTypes.NodeWithSimpleName<RuleDeclaration>,com.github.javaparser.ast.nodeTypes.NodeWithTokenRange<com.github.javaparser.ast.Node>,com.github.javaparser.ast.observer.Observable,com.github.javaparser.ast.visitor.Visitable,com.github.javaparser.HasParentNode<com.github.javaparser.ast.Node>,java.lang.Cloneable
public class RuleDeclaration extends com.github.javaparser.ast.body.TypeDeclaration<RuleDeclaration>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.javaparser.ast.Node
com.github.javaparser.ast.Node.BreadthFirstIterator, com.github.javaparser.ast.Node.DirectChildrenIterator, com.github.javaparser.ast.Node.ObserverRegistrationMode, com.github.javaparser.ast.Node.ParentsVisitor, com.github.javaparser.ast.Node.Parsedness, com.github.javaparser.ast.Node.PostOrderIterator, com.github.javaparser.ast.Node.PreOrderIterator, com.github.javaparser.ast.Node.TreeTraversal
-
-
Constructor Summary
Constructors Constructor Description RuleDeclaration(com.github.javaparser.TokenRange range, com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations, com.github.javaparser.ast.expr.SimpleName name, RuleBody ruleBody)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,A>
Raccept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v, A arg)<A> voidaccept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg)RuleBodygetRuleBody()com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclarationresolve()-
Methods inherited from class com.github.javaparser.ast.body.TypeDeclaration
addMember, asTypeDeclaration, clone, getCallablesWithSignature, getFullyQualifiedName, getMembers, getMetaModel, getModifiers, getName, ifTypeDeclaration, isNestedType, isTopLevelType, isTypeDeclaration, remove, replace, setMembers, setModifiers, setName, toTypeDeclaration
-
Methods inherited from class com.github.javaparser.ast.body.BodyDeclaration
asAnnotationDeclaration, asAnnotationMemberDeclaration, asCallableDeclaration, asClassOrInterfaceDeclaration, asCompactConstructorDeclaration, asConstructorDeclaration, asEnumConstantDeclaration, asEnumDeclaration, asFieldDeclaration, asInitializerDeclaration, asMethodDeclaration, asRecordDeclaration, getAnnotations, ifAnnotationDeclaration, ifAnnotationMemberDeclaration, ifCallableDeclaration, ifClassOrInterfaceDeclaration, ifCompactConstructorDeclaration, ifConstructorDeclaration, ifEnumConstantDeclaration, ifEnumDeclaration, ifFieldDeclaration, ifInitializerDeclaration, ifMethodDeclaration, ifRecordDeclaration, isAnnotationDeclaration, isAnnotationMemberDeclaration, isCallableDeclaration, isClassOrInterfaceDeclaration, isCompactConstructorDeclaration, isConstructorDeclaration, isEnumConstantDeclaration, isEnumDeclaration, isFieldDeclaration, isInitializerDeclaration, isMethodDeclaration, isRecordDeclaration, setAnnotations, toAnnotationDeclaration, toAnnotationMemberDeclaration, toCallableDeclaration, toClassOrInterfaceDeclaration, toCompactConstructorDeclaration, toConstructorDeclaration, toEnumConstantDeclaration, toEnumDeclaration, toFieldDeclaration, toInitializerDeclaration, toMethodDeclaration, toRecordDeclaration
-
Methods inherited from class com.github.javaparser.ast.Node
addOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findCompilationUnit, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getDefaultPrinterConfiguration, getLineEndingStyle, getLineEndingStyleOrDefault, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getPrinter, getPrinter, getRange, getSymbolResolver, getTokenRange, hashCode, hasScope, isAncestorOf, isPhantom, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walk
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.github.javaparser.HasParentNode
findAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOf
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithAnnotations
addAndGetAnnotation, addAndGetAnnotation, addAnnotation, addAnnotation, addAnnotation, addMarkerAnnotation, addMarkerAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, getAnnotation, getAnnotationByClass, getAnnotationByName, isAnnotationPresent, isAnnotationPresent, setAnnotation, tryAddImportToParentCompilationUnit
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithJavadoc
getComment, getJavadoc, getJavadocComment, hasJavaDocComment, removeJavaDocComment, setComment, setJavadocComment, setJavadocComment, setJavadocComment, setJavadocComment
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithMembers
addConstructor, addField, addField, addField, addFieldWithInitializer, addFieldWithInitializer, addFieldWithInitializer, addInitializer, addMethod, addPrivateField, addPrivateField, addPrivateField, addProtectedField, addProtectedField, addProtectedField, addPublicField, addPublicField, addPublicField, addStaticInitializer, getConstructorByParameterTypes, getConstructorByParameterTypes, getConstructors, getDefaultConstructor, getFieldByName, getFields, getMember, getMethods, getMethodsByName, getMethodsByParameterTypes, getMethodsByParameterTypes, getMethodsBySignature, isEmpty, setMember, tryAddImportToParentCompilationUnit
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithModifiers
addModifier, getAccessSpecifier, hasModifier, removeModifier, setModifier, setModifiers
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPrivateModifier
isPrivate, setPrivate
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithProtectedModifier
isProtected, setProtected
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPublicModifier
isPublic, setPublic
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithRange
containsWithin, containsWithinRange, getBegin, getEnd, hasRange
-
Methods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithSimpleName
getNameAsExpression, getNameAsString, setName
-
-
-
-
Constructor Detail
-
RuleDeclaration
public RuleDeclaration(com.github.javaparser.TokenRange range, com.github.javaparser.ast.NodeList<com.github.javaparser.ast.expr.AnnotationExpr> annotations, com.github.javaparser.ast.expr.SimpleName name, RuleBody ruleBody)
-
-
Method Detail
-
accept
public <R,A> R accept(com.github.javaparser.ast.visitor.GenericVisitor<R,A> v, A arg)
-
accept
public <A> void accept(com.github.javaparser.ast.visitor.VoidVisitor<A> v, A arg)
-
getRuleBody
public RuleBody getRuleBody()
-
resolve
public com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration resolve()
- Specified by:
resolvein classcom.github.javaparser.ast.body.TypeDeclaration<RuleDeclaration>
-
-