Uses of Class
org.fife.rsta.ac.java.rjc.ast.CompilationUnit
Packages that use CompilationUnit
Package
Description
Java code completion classes.
Various ways to reference and ingest classes.
A parser for Java source code.
Java outline tree implementation.
-
Uses of CompilationUnit in org.fife.rsta.ac.java
Fields in org.fife.rsta.ac.java declared as CompilationUnitModifier and TypeFieldDescriptionprivate CompilationUnitJavaCompletionProvider.cuprivate CompilationUnitJavaParser.cuprivate static CompilationUnitUtil.lastCUFromDiskA cache of the lastCompilationUnitread from some attached source on disk.Methods in org.fife.rsta.ac.java that return CompilationUnitModifier and TypeMethodDescriptionJavaCompletionProvider.getCompilationUnit()JavaParser.getCompilationUnit()Returns the compilation unit from the last time the text area was parsed.static CompilationUnitUtil.getCompilationUnitFromDisk(SourceLocation loc, ClassFile cf) Used byMemberCompletion.Dataimplementations to get an AST from a source file in aSourceLocation.Methods in org.fife.rsta.ac.java with parameters of type CompilationUnitModifier and TypeMethodDescriptionprivate voidSourceCompletionProvider.addCompletionsForExtendedClass(Set<org.fife.ui.autocomplete.Completion> set, CompilationUnit cu, ClassFile cf, String pkg, Map<String, String> typeParamMap) Adds completions for accessible methods and fields of super classes.private voidSourceCompletionProvider.addCompletionsForLocalVarsMethods(CompilationUnit cu, LocalVariable var, Set<org.fife.ui.autocomplete.Completion> retVal) Adds completions for all methods and public fields of a local variable.private voidSourceCompletionProvider.addCompletionsForStaticMembers(Set<org.fife.ui.autocomplete.Completion> set, CompilationUnit cu, ClassFile cf, String pkg) private booleanSourceCompletionProvider.checkStringLiteralMember(JTextComponent comp, String alreadyEntered, CompilationUnit cu, Set<org.fife.ui.autocomplete.Completion> set) Checks whether the user is typing a completion for a String member after a String literal.private ClassFileSourceCompletionProvider.getClassFileFor(CompilationUnit cu, String className) Gets theClassFilefor a class.private voidSourceCompletionProvider.loadCompletionsForCaretPosition(CompilationUnit cu, JTextComponent comp, String alreadyEntered, Set<org.fife.ui.autocomplete.Completion> retVal) Loads completions based on the current caret location in the source.private voidSourceCompletionProvider.loadCompletionsForCaretPosition(CompilationUnit cu, JTextComponent comp, String alreadyEntered, Set<org.fife.ui.autocomplete.Completion> retVal, TypeDeclaration td, String prefix, int caret) Loads completions based on the current caret location in the source.private voidSourceCompletionProvider.loadCompletionsForCaretPositionQualified(CompilationUnit cu, String alreadyEntered, Set<org.fife.ui.autocomplete.Completion> retVal, TypeDeclaration td, Method currentMethod, String prefix, int offs) Loads completions for the text at the current caret position, if there is a "prefix" of chars and at least one '.' character in the text up to the caret.private voidSourceCompletionProvider.loadCompletionsForCaretPositionQualifiedCodeBlock(CompilationUnit cu, Set<org.fife.ui.autocomplete.Completion> retVal, TypeDeclaration td, CodeBlock block, String prefix, int offs) private voidSourceCompletionProvider.loadImportCompletions(Set<org.fife.ui.autocomplete.Completion> set, String text, CompilationUnit cu) Loads completions for all import statements.voidJavaCompletionProvider.setCompilationUnit(CompilationUnit cu) -
Uses of CompilationUnit in org.fife.rsta.ac.java.buildpath
Methods in org.fife.rsta.ac.java.buildpath that return CompilationUnitModifier and TypeMethodDescriptionClasspathSourceLocation.getCompilationUnit(ClassFile cf) Returns an AST for the specified class file.DirSourceLocation.getCompilationUnit(ClassFile cf) Returns an AST for the specified class file.SourceLocation.getCompilationUnit(ClassFile cf) Returns an AST for the specified class file.ZipSourceLocation.getCompilationUnit(ClassFile cf) Returns an AST for the specified class file. -
Uses of CompilationUnit in org.fife.rsta.ac.java.rjc.parser
Methods in org.fife.rsta.ac.java.rjc.parser that return CompilationUnitModifier and TypeMethodDescriptionASTFactory.getCompilationUnit(String name, Scanner scanner) Reads tokens for a Java source file from the specified lexer and returns the structure of the source as an AST.Methods in org.fife.rsta.ac.java.rjc.parser with parameters of type CompilationUnitModifier and TypeMethodDescriptionprivate voidASTFactory.checkForDuplicateLocalVarNames(CompilationUnit cu, Token lVar, CodeBlock block, Method m) Checks whether a local variable's name collides with a local variable defined earlier.private AnnotationASTFactory.getAnnotation(CompilationUnit cu, Scanner s) Assumes t is the actual '@foobar' annotation token.private CodeBlockASTFactory.getBlock(CompilationUnit cu, CodeBlock parent, Method m, Scanner s, boolean isStatic) private CodeBlockASTFactory.getBlock(CompilationUnit cu, CodeBlock parent, Method m, Scanner s, boolean isStatic, int depth) Parses a block of code.private voidASTFactory.getClassBody(CompilationUnit cu, Scanner s, NormalClassDeclaration classDec) private TypeDeclarationASTFactory.getClassOrInterfaceDeclaration(CompilationUnit cu, Scanner s, TypeDeclarationContainer addTo, Modifiers modList) private EnumBodyASTFactory.getEnumBody(CompilationUnit cu, Scanner s, EnumDeclaration enumDec) private EnumDeclarationASTFactory.getEnumDeclaration(CompilationUnit cu, Scanner s, TypeDeclarationContainer addTo) private List<FormalParameter> ASTFactory.getFormalParameters(CompilationUnit cu, List<Token> tokenList) private voidASTFactory.getInterfaceBody(CompilationUnit cu, Scanner s, NormalInterfaceDeclaration iDec) private voidASTFactory.getInterfaceMemberDecl(CompilationUnit cu, Scanner s, NormalInterfaceDeclaration iDec, Modifiers modList) private voidASTFactory.getMemberDecl(CompilationUnit cu, Scanner s, NormalClassDeclaration classDec, Modifiers modList) private ModifiersASTFactory.getModifierList(CompilationUnit cu, Scanner s) private NormalClassDeclarationASTFactory.getNormalClassDeclaration(CompilationUnit cu, Scanner s, TypeDeclarationContainer addTo) private NormalInterfaceDeclarationASTFactory.getNormalInterfaceDeclaration(CompilationUnit cu, Scanner s, TypeDeclarationContainer addTo) ASTFactory.getThrownTypeNames(CompilationUnit cu, Scanner s) private TypeASTFactory.getType(CompilationUnit cu, Scanner s) private TypeASTFactory.getType(CompilationUnit cu, Scanner s, boolean pushbackOnUnexpected) private TypeArgumentASTFactory.getTypeArgument(CompilationUnit cu, Scanner s) private List<TypeArgument> ASTFactory.getTypeArguments(CompilationUnit cu, Scanner s) private TypeDeclarationASTFactory.getTypeDeclaration(CompilationUnit cu, Scanner s) private TypeParameterASTFactory.getTypeParameter(CompilationUnit cu, Scanner s) private List<TypeParameter> ASTFactory.getTypeParameters(CompilationUnit cu, Scanner s) -
Uses of CompilationUnit in org.fife.rsta.ac.java.tree
Methods in org.fife.rsta.ac.java.tree with parameters of type CompilationUnitModifier and TypeMethodDescriptionprivate voidJavaOutlineTree.update(CompilationUnit cu) Refreshes this tree.