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>,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 -
Field Summary
Fields inherited from class com.github.javaparser.ast.Node
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, LINE_SEPARATOR_KEY, NODE_BY_BEGIN_POSITION, PHANTOM_KEY, prettyPrinterNoCommentsConfiguration, PRINTER_KEY, SYMBOL_RESOLVER_KEY -
Constructor Summary
ConstructorsConstructorDescriptionRuleDeclaration(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
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, toTypeDeclarationMethods 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, toRecordDeclarationMethods inherited from class com.github.javaparser.ast.Node
addOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findByRange, findCompilationUnit, findData, 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, walkMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.HasParentNode
findAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOfMethods 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, tryAddImportToParentCompilationUnitMethods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithJavadoc
getComment, getJavadoc, getJavadocComment, hasJavaDocComment, removeJavaDocComment, setComment, setJavadocComment, setJavadocComment, setJavadocComment, setJavadocCommentMethods 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, tryAddImportToParentCompilationUnitMethods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithModifiers
addModifier, getAccessSpecifier, hasModifier, removeModifier, setModifier, setModifiersMethods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPrivateModifier
isPrivate, setPrivateMethods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithProtectedModifier
isProtected, setProtectedMethods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithPublicModifier
isPublic, setPublicMethods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithRange
containsWithin, containsWithinRange, getBegin, getEnd, hasRangeMethods inherited from interface com.github.javaparser.ast.nodeTypes.NodeWithSimpleName
getNameAsExpression, getNameAsString, setNameMethods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStaticModifier
isStatic, setStaticMethods inherited from interface com.github.javaparser.ast.nodeTypes.modifiers.NodeWithStrictfpModifier
isStrictfp, setStrictfp
-
Constructor Details
-
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 Details
-
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
-
resolve
public com.github.javaparser.resolution.declarations.ResolvedReferenceTypeDeclaration resolve()- Specified by:
resolvein classcom.github.javaparser.ast.body.TypeDeclaration<RuleDeclaration>
-