├── .gitignore
├── LICENSE
├── README.markdown
├── THIRD_PARTY_README
├── pom.xml
└── src
└── main
└── java
└── openjdk7
├── com
└── sun
│ ├── javadoc
│ ├── AnnotationDesc.java
│ ├── AnnotationTypeDoc.java
│ ├── AnnotationTypeElementDoc.java
│ ├── AnnotationValue.java
│ ├── ClassDoc.java
│ ├── ConstructorDoc.java
│ ├── Doc.java
│ ├── DocErrorReporter.java
│ ├── Doclet.java
│ ├── ExecutableMemberDoc.java
│ ├── FieldDoc.java
│ ├── LanguageVersion.java
│ ├── MemberDoc.java
│ ├── MethodDoc.java
│ ├── PackageDoc.java
│ ├── ParamTag.java
│ ├── Parameter.java
│ ├── ParameterizedType.java
│ ├── ProgramElementDoc.java
│ ├── RootDoc.java
│ ├── SeeTag.java
│ ├── SerialFieldTag.java
│ ├── SourcePosition.java
│ ├── Tag.java
│ ├── ThrowsTag.java
│ ├── Type.java
│ ├── TypeVariable.java
│ ├── WildcardType.java
│ └── package.html
│ ├── mirror
│ ├── apt
│ │ ├── AnnotationProcessor.java
│ │ ├── AnnotationProcessorEnvironment.java
│ │ ├── AnnotationProcessorFactory.java
│ │ ├── AnnotationProcessorListener.java
│ │ ├── AnnotationProcessors.java
│ │ ├── Filer.java
│ │ ├── Messager.java
│ │ ├── RoundCompleteEvent.java
│ │ ├── RoundCompleteListener.java
│ │ ├── RoundState.java
│ │ └── package-info.java
│ ├── declaration
│ │ ├── AnnotationMirror.java
│ │ ├── AnnotationTypeDeclaration.java
│ │ ├── AnnotationTypeElementDeclaration.java
│ │ ├── AnnotationValue.java
│ │ ├── ClassDeclaration.java
│ │ ├── ConstructorDeclaration.java
│ │ ├── Declaration.java
│ │ ├── EnumConstantDeclaration.java
│ │ ├── EnumDeclaration.java
│ │ ├── ExecutableDeclaration.java
│ │ ├── FieldDeclaration.java
│ │ ├── InterfaceDeclaration.java
│ │ ├── MemberDeclaration.java
│ │ ├── MethodDeclaration.java
│ │ ├── Modifier.java
│ │ ├── PackageDeclaration.java
│ │ ├── ParameterDeclaration.java
│ │ ├── TypeDeclaration.java
│ │ ├── TypeParameterDeclaration.java
│ │ └── package-info.java
│ ├── overview.html
│ ├── type
│ │ ├── AnnotationType.java
│ │ ├── ArrayType.java
│ │ ├── ClassType.java
│ │ ├── DeclaredType.java
│ │ ├── EnumType.java
│ │ ├── InterfaceType.java
│ │ ├── MirroredTypeException.java
│ │ ├── MirroredTypesException.java
│ │ ├── PrimitiveType.java
│ │ ├── ReferenceType.java
│ │ ├── TypeMirror.java
│ │ ├── TypeVariable.java
│ │ ├── VoidType.java
│ │ ├── WildcardType.java
│ │ └── package-info.java
│ └── util
│ │ ├── DeclarationFilter.java
│ │ ├── DeclarationScanner.java
│ │ ├── DeclarationVisitor.java
│ │ ├── DeclarationVisitors.java
│ │ ├── Declarations.java
│ │ ├── SimpleDeclarationVisitor.java
│ │ ├── SimpleTypeVisitor.java
│ │ ├── SourceOrderDeclScanner.java
│ │ ├── SourcePosition.java
│ │ ├── TypeVisitor.java
│ │ ├── Types.java
│ │ └── package-info.java
│ ├── source
│ ├── tree
│ │ ├── AnnotationTree.java
│ │ ├── ArrayAccessTree.java
│ │ ├── ArrayTypeTree.java
│ │ ├── AssertTree.java
│ │ ├── AssignmentTree.java
│ │ ├── BinaryTree.java
│ │ ├── BlockTree.java
│ │ ├── BreakTree.java
│ │ ├── CaseTree.java
│ │ ├── CatchTree.java
│ │ ├── ClassTree.java
│ │ ├── CompilationUnitTree.java
│ │ ├── CompoundAssignmentTree.java
│ │ ├── ConditionalExpressionTree.java
│ │ ├── ContinueTree.java
│ │ ├── DoWhileLoopTree.java
│ │ ├── EmptyStatementTree.java
│ │ ├── EnhancedForLoopTree.java
│ │ ├── ErroneousTree.java
│ │ ├── ExpressionStatementTree.java
│ │ ├── ExpressionTree.java
│ │ ├── ForLoopTree.java
│ │ ├── IdentifierTree.java
│ │ ├── IfTree.java
│ │ ├── ImportTree.java
│ │ ├── InstanceOfTree.java
│ │ ├── LabeledStatementTree.java
│ │ ├── LineMap.java
│ │ ├── LiteralTree.java
│ │ ├── MemberSelectTree.java
│ │ ├── MethodInvocationTree.java
│ │ ├── MethodTree.java
│ │ ├── ModifiersTree.java
│ │ ├── NewArrayTree.java
│ │ ├── NewClassTree.java
│ │ ├── ParameterizedTypeTree.java
│ │ ├── ParenthesizedTree.java
│ │ ├── PrimitiveTypeTree.java
│ │ ├── ReturnTree.java
│ │ ├── Scope.java
│ │ ├── StatementTree.java
│ │ ├── SwitchTree.java
│ │ ├── SynchronizedTree.java
│ │ ├── ThrowTree.java
│ │ ├── Tree.java
│ │ ├── TreeVisitor.java
│ │ ├── TryTree.java
│ │ ├── TypeCastTree.java
│ │ ├── TypeParameterTree.java
│ │ ├── UnaryTree.java
│ │ ├── UnionTypeTree.java
│ │ ├── VariableTree.java
│ │ ├── WhileLoopTree.java
│ │ ├── WildcardTree.java
│ │ └── package-info.java
│ └── util
│ │ ├── JavacTask.java
│ │ ├── SimpleTreeVisitor.java
│ │ ├── SourcePositions.java
│ │ ├── TaskEvent.java
│ │ ├── TaskListener.java
│ │ ├── TreePath.java
│ │ ├── TreePathScanner.java
│ │ ├── TreeScanner.java
│ │ ├── Trees.java
│ │ └── package-info.java
│ └── tools
│ ├── apt
│ ├── Main.java
│ ├── comp
│ │ ├── AnnotationProcessingError.java
│ │ ├── Apt.java
│ │ ├── BootstrapAPF.java
│ │ ├── PrintAP.java
│ │ └── UsageMessageNeededException.java
│ ├── main
│ │ ├── AptJavaCompiler.java
│ │ ├── CommandLine.java
│ │ └── Main.java
│ ├── mirror
│ │ ├── AptEnv.java
│ │ ├── apt
│ │ │ ├── AnnotationProcessorEnvironmentImpl.java
│ │ │ ├── FilerImpl.java
│ │ │ ├── MessagerImpl.java
│ │ │ ├── RoundCompleteEventImpl.java
│ │ │ └── RoundStateImpl.java
│ │ ├── declaration
│ │ │ ├── AnnotationMirrorImpl.java
│ │ │ ├── AnnotationProxyMaker.java
│ │ │ ├── AnnotationTypeDeclarationImpl.java
│ │ │ ├── AnnotationTypeElementDeclarationImpl.java
│ │ │ ├── AnnotationValueImpl.java
│ │ │ ├── ClassDeclarationImpl.java
│ │ │ ├── Constants.java
│ │ │ ├── ConstructorDeclarationImpl.java
│ │ │ ├── DeclarationImpl.java
│ │ │ ├── DeclarationMaker.java
│ │ │ ├── EnumConstantDeclarationImpl.java
│ │ │ ├── EnumDeclarationImpl.java
│ │ │ ├── ExecutableDeclarationImpl.java
│ │ │ ├── FieldDeclarationImpl.java
│ │ │ ├── InterfaceDeclarationImpl.java
│ │ │ ├── MemberDeclarationImpl.java
│ │ │ ├── MethodDeclarationImpl.java
│ │ │ ├── PackageDeclarationImpl.java
│ │ │ ├── ParameterDeclarationImpl.java
│ │ │ ├── TypeDeclarationImpl.java
│ │ │ └── TypeParameterDeclarationImpl.java
│ │ ├── type
│ │ │ ├── AnnotationTypeImpl.java
│ │ │ ├── ArrayTypeImpl.java
│ │ │ ├── ClassTypeImpl.java
│ │ │ ├── DeclaredTypeImpl.java
│ │ │ ├── EnumTypeImpl.java
│ │ │ ├── InterfaceTypeImpl.java
│ │ │ ├── PrimitiveTypeImpl.java
│ │ │ ├── TypeMaker.java
│ │ │ ├── TypeMirrorImpl.java
│ │ │ ├── TypeVariableImpl.java
│ │ │ ├── VoidTypeImpl.java
│ │ │ └── WildcardTypeImpl.java
│ │ └── util
│ │ │ ├── DeclarationsImpl.java
│ │ │ ├── SourcePositionImpl.java
│ │ │ └── TypesImpl.java
│ ├── resources
│ │ ├── apt.properties
│ │ ├── apt_ja.properties
│ │ └── apt_zh_CN.properties
│ └── util
│ │ └── Bark.java
│ ├── classfile
│ ├── AccessFlags.java
│ ├── Annotation.java
│ ├── AnnotationDefault_attribute.java
│ ├── Attribute.java
│ ├── AttributeException.java
│ ├── Attributes.java
│ ├── BootstrapMethods_attribute.java
│ ├── CharacterRangeTable_attribute.java
│ ├── ClassFile.java
│ ├── ClassReader.java
│ ├── ClassTranslator.java
│ ├── ClassWriter.java
│ ├── Code_attribute.java
│ ├── CompilationID_attribute.java
│ ├── ConstantPool.java
│ ├── ConstantPoolException.java
│ ├── ConstantValue_attribute.java
│ ├── DefaultAttribute.java
│ ├── Dependencies.java
│ ├── Dependency.java
│ ├── Deprecated_attribute.java
│ ├── Descriptor.java
│ ├── DescriptorException.java
│ ├── EnclosingMethod_attribute.java
│ ├── Exceptions_attribute.java
│ ├── Field.java
│ ├── InnerClasses_attribute.java
│ ├── Instruction.java
│ ├── LineNumberTable_attribute.java
│ ├── LocalVariableTable_attribute.java
│ ├── LocalVariableTypeTable_attribute.java
│ ├── Method.java
│ ├── Opcode.java
│ ├── RuntimeAnnotations_attribute.java
│ ├── RuntimeInvisibleAnnotations_attribute.java
│ ├── RuntimeInvisibleParameterAnnotations_attribute.java
│ ├── RuntimeParameterAnnotations_attribute.java
│ ├── RuntimeVisibleAnnotations_attribute.java
│ ├── RuntimeVisibleParameterAnnotations_attribute.java
│ ├── Signature.java
│ ├── Signature_attribute.java
│ ├── SourceDebugExtension_attribute.java
│ ├── SourceFile_attribute.java
│ ├── SourceID_attribute.java
│ ├── StackMapTable_attribute.java
│ ├── StackMap_attribute.java
│ ├── Synthetic_attribute.java
│ ├── Type.java
│ └── package.html
│ ├── doclets
│ ├── Taglet.java
│ ├── formats
│ │ └── html
│ │ │ ├── AbstractExecutableMemberWriter.java
│ │ │ ├── AbstractIndexWriter.java
│ │ │ ├── AbstractMemberWriter.java
│ │ │ ├── AbstractPackageIndexWriter.java
│ │ │ ├── AbstractTreeWriter.java
│ │ │ ├── AllClassesFrameWriter.java
│ │ │ ├── AnnotationTypeOptionalMemberWriterImpl.java
│ │ │ ├── AnnotationTypeRequiredMemberWriterImpl.java
│ │ │ ├── AnnotationTypeWriterImpl.java
│ │ │ ├── ClassUseWriter.java
│ │ │ ├── ClassWriterImpl.java
│ │ │ ├── ConfigurationImpl.java
│ │ │ ├── ConstantsSummaryWriterImpl.java
│ │ │ ├── ConstructorWriterImpl.java
│ │ │ ├── DeprecatedListWriter.java
│ │ │ ├── EnumConstantWriterImpl.java
│ │ │ ├── FieldWriterImpl.java
│ │ │ ├── FrameOutputWriter.java
│ │ │ ├── HelpWriter.java
│ │ │ ├── HtmlDoclet.java
│ │ │ ├── HtmlDocletWriter.java
│ │ │ ├── HtmlSerialFieldWriter.java
│ │ │ ├── HtmlSerialMethodWriter.java
│ │ │ ├── LinkFactoryImpl.java
│ │ │ ├── LinkInfoImpl.java
│ │ │ ├── LinkOutputImpl.java
│ │ │ ├── MethodWriterImpl.java
│ │ │ ├── NestedClassWriterImpl.java
│ │ │ ├── PackageFrameWriter.java
│ │ │ ├── PackageIndexFrameWriter.java
│ │ │ ├── PackageIndexWriter.java
│ │ │ ├── PackageTreeWriter.java
│ │ │ ├── PackageUseWriter.java
│ │ │ ├── PackageWriterImpl.java
│ │ │ ├── PropertyWriterImpl.java
│ │ │ ├── SerializedFormWriterImpl.java
│ │ │ ├── SingleIndexWriter.java
│ │ │ ├── SourceToHTMLConverter.java
│ │ │ ├── SplitIndexWriter.java
│ │ │ ├── SubWriterHolderWriter.java
│ │ │ ├── TagletOutputImpl.java
│ │ │ ├── TagletWriterImpl.java
│ │ │ ├── TreeWriter.java
│ │ │ ├── WriterFactoryImpl.java
│ │ │ ├── markup
│ │ │ ├── Comment.java
│ │ │ ├── DocType.java
│ │ │ ├── HtmlAttr.java
│ │ │ ├── HtmlConstants.java
│ │ │ ├── HtmlDocWriter.java
│ │ │ ├── HtmlDocument.java
│ │ │ ├── HtmlStyle.java
│ │ │ ├── HtmlTag.java
│ │ │ ├── HtmlTree.java
│ │ │ ├── HtmlWriter.java
│ │ │ ├── RawHtml.java
│ │ │ ├── StringContent.java
│ │ │ └── package.html
│ │ │ ├── package.html
│ │ │ └── resources
│ │ │ ├── standard.properties
│ │ │ ├── standard_ja.properties
│ │ │ └── standard_zh_CN.properties
│ ├── internal
│ │ └── toolkit
│ │ │ ├── AbstractDoclet.java
│ │ │ ├── AnnotationTypeOptionalMemberWriter.java
│ │ │ ├── AnnotationTypeRequiredMemberWriter.java
│ │ │ ├── AnnotationTypeWriter.java
│ │ │ ├── ClassWriter.java
│ │ │ ├── Configuration.java
│ │ │ ├── ConstantsSummaryWriter.java
│ │ │ ├── ConstructorWriter.java
│ │ │ ├── Content.java
│ │ │ ├── EnumConstantWriter.java
│ │ │ ├── FieldWriter.java
│ │ │ ├── MemberSummaryWriter.java
│ │ │ ├── MethodWriter.java
│ │ │ ├── NestedClassWriter.java
│ │ │ ├── PackageSummaryWriter.java
│ │ │ ├── PropertyWriter.java
│ │ │ ├── SerializedFormWriter.java
│ │ │ ├── WriterFactory.java
│ │ │ ├── builders
│ │ │ ├── AbstractBuilder.java
│ │ │ ├── AbstractMemberBuilder.java
│ │ │ ├── AnnotationTypeBuilder.java
│ │ │ ├── AnnotationTypeOptionalMemberBuilder.java
│ │ │ ├── AnnotationTypeRequiredMemberBuilder.java
│ │ │ ├── BuilderFactory.java
│ │ │ ├── ClassBuilder.java
│ │ │ ├── ConstantsSummaryBuilder.java
│ │ │ ├── ConstructorBuilder.java
│ │ │ ├── EnumConstantBuilder.java
│ │ │ ├── FieldBuilder.java
│ │ │ ├── LayoutParser.java
│ │ │ ├── MemberSummaryBuilder.java
│ │ │ ├── MethodBuilder.java
│ │ │ ├── PackageSummaryBuilder.java
│ │ │ ├── PropertyBuilder.java
│ │ │ ├── SerializedFormBuilder.java
│ │ │ ├── XMLNode.java
│ │ │ └── package.html
│ │ │ ├── package.html
│ │ │ ├── resources
│ │ │ ├── background.gif
│ │ │ ├── doclet.xml
│ │ │ ├── doclets.properties
│ │ │ ├── doclets_ja.properties
│ │ │ ├── doclets_zh_CN.properties
│ │ │ ├── stylesheet.css
│ │ │ ├── tab.gif
│ │ │ ├── titlebar.gif
│ │ │ └── titlebar_end.gif
│ │ │ ├── taglets
│ │ │ ├── BaseExecutableMemberTaglet.java
│ │ │ ├── BaseInlineTaglet.java
│ │ │ ├── BasePropertyTaglet.java
│ │ │ ├── BaseTaglet.java
│ │ │ ├── CodeTaglet.java
│ │ │ ├── DeprecatedTaglet.java
│ │ │ ├── DocRootTaglet.java
│ │ │ ├── ExpertTaglet.java
│ │ │ ├── InheritDocTaglet.java
│ │ │ ├── InheritableTaglet.java
│ │ │ ├── LegacyTaglet.java
│ │ │ ├── LiteralTaglet.java
│ │ │ ├── ParamTaglet.java
│ │ │ ├── PropertyGetterTaglet.java
│ │ │ ├── PropertySetterTaglet.java
│ │ │ ├── ReturnTaglet.java
│ │ │ ├── SeeTaglet.java
│ │ │ ├── SimpleTaglet.java
│ │ │ ├── Taglet.java
│ │ │ ├── TagletManager.java
│ │ │ ├── TagletOutput.java
│ │ │ ├── TagletWriter.java
│ │ │ ├── ThrowsTaglet.java
│ │ │ ├── ValueTaglet.java
│ │ │ └── package.html
│ │ │ └── util
│ │ │ ├── ClassDocCatalog.java
│ │ │ ├── ClassTree.java
│ │ │ ├── ClassUseMapper.java
│ │ │ ├── CommentedMethodFinder.java
│ │ │ ├── DeprecatedAPIListBuilder.java
│ │ │ ├── DirectoryManager.java
│ │ │ ├── DocFinder.java
│ │ │ ├── DocletAbortException.java
│ │ │ ├── DocletConstants.java
│ │ │ ├── Extern.java
│ │ │ ├── Group.java
│ │ │ ├── ImplementedMethods.java
│ │ │ ├── IndexBuilder.java
│ │ │ ├── MessageRetriever.java
│ │ │ ├── MetaKeywords.java
│ │ │ ├── MethodFinder.java
│ │ │ ├── PackageListWriter.java
│ │ │ ├── SourcePath.java
│ │ │ ├── TaggedMethodFinder.java
│ │ │ ├── TextTag.java
│ │ │ ├── Util.java
│ │ │ ├── VisibleMemberMap.java
│ │ │ ├── links
│ │ │ ├── LinkFactory.java
│ │ │ ├── LinkInfo.java
│ │ │ ├── LinkOutput.java
│ │ │ └── package.html
│ │ │ └── package.html
│ ├── package.html
│ └── standard
│ │ └── Standard.java
│ ├── javac
│ ├── Launcher.java
│ ├── Main.java
│ ├── Server.java
│ ├── api
│ │ ├── ClientCodeWrapper.java
│ │ ├── DiagnosticFormatter.java
│ │ ├── Formattable.java
│ │ ├── JavacScope.java
│ │ ├── JavacTaskImpl.java
│ │ ├── JavacTool.java
│ │ ├── JavacTrees.java
│ │ ├── Messages.java
│ │ └── WrappingJavaFileManager.java
│ ├── code
│ │ ├── Attribute.java
│ │ ├── BoundKind.java
│ │ ├── DeferredLintHandler.java
│ │ ├── Flags.java
│ │ ├── Kinds.java
│ │ ├── Lint.java
│ │ ├── Printer.java
│ │ ├── Scope.java
│ │ ├── Source.java
│ │ ├── Symbol.java
│ │ ├── Symtab.java
│ │ ├── TargetType.java
│ │ ├── Type.java
│ │ ├── TypeAnnotationPosition.java
│ │ ├── TypeTags.java
│ │ └── Types.java
│ ├── comp
│ │ ├── Annotate.java
│ │ ├── Attr.java
│ │ ├── AttrContext.java
│ │ ├── AttrContextEnv.java
│ │ ├── Check.java
│ │ ├── ConstFold.java
│ │ ├── Enter.java
│ │ ├── Env.java
│ │ ├── Flow.java
│ │ ├── Infer.java
│ │ ├── Lower.java
│ │ ├── MemberEnter.java
│ │ ├── Resolve.java
│ │ ├── Todo.java
│ │ └── TransTypes.java
│ ├── file
│ │ ├── BaseFileObject.java
│ │ ├── CacheFSInfo.java
│ │ ├── FSInfo.java
│ │ ├── JavacFileManager.java
│ │ ├── Paths.java
│ │ ├── RegularFileObject.java
│ │ ├── RelativePath.java
│ │ ├── SymbolArchive.java
│ │ ├── ZipArchive.java
│ │ ├── ZipFileIndex.java
│ │ ├── ZipFileIndexArchive.java
│ │ └── ZipFileIndexCache.java
│ ├── jvm
│ │ ├── ByteCodes.java
│ │ ├── CRTFlags.java
│ │ ├── CRTable.java
│ │ ├── ClassFile.java
│ │ ├── ClassReader.java
│ │ ├── ClassWriter.java
│ │ ├── Code.java
│ │ ├── Gen.java
│ │ ├── Items.java
│ │ ├── Pool.java
│ │ ├── Target.java
│ │ └── UninitializedType.java
│ ├── main
│ │ ├── CommandLine.java
│ │ ├── JavaCompiler.java
│ │ ├── JavacOption.java
│ │ ├── Main.java
│ │ ├── OptionName.java
│ │ └── RecognizedOptions.java
│ ├── model
│ │ ├── AnnotationProxyMaker.java
│ │ ├── FilteredMemberList.java
│ │ ├── JavacElements.java
│ │ ├── JavacSourcePosition.java
│ │ └── JavacTypes.java
│ ├── nio
│ │ ├── JavacPathFileManager.java
│ │ ├── PathFileManager.java
│ │ └── PathFileObject.java
│ ├── parser
│ │ ├── DocCommentScanner.java
│ │ ├── EndPosParser.java
│ │ ├── JavacParser.java
│ │ ├── Keywords.java
│ │ ├── Lexer.java
│ │ ├── Parser.java
│ │ ├── ParserFactory.java
│ │ ├── Scanner.java
│ │ ├── ScannerFactory.java
│ │ └── Token.java
│ ├── processing
│ │ ├── AnnotationProcessingError.java
│ │ ├── JavacFiler.java
│ │ ├── JavacMessager.java
│ │ ├── JavacProcessingEnvironment.java
│ │ ├── JavacRoundEnvironment.java
│ │ ├── PrintingProcessor.java
│ │ └── ServiceProxy.java
│ ├── resources
│ │ ├── compiler.properties
│ │ ├── compiler_ja.properties
│ │ ├── compiler_zh_CN.properties
│ │ ├── javac.properties
│ │ ├── javac_ja.properties
│ │ ├── javac_zh_CN.properties
│ │ ├── legacy.properties
│ │ └── version.properties-template
│ ├── services
│ │ └── javax.tools.JavaCompilerTool
│ ├── sym
│ │ └── CreateSymbols.java
│ ├── tree
│ │ ├── JCTree.java
│ │ ├── Pretty.java
│ │ ├── TreeCopier.java
│ │ ├── TreeInfo.java
│ │ ├── TreeMaker.java
│ │ ├── TreeScanner.java
│ │ └── TreeTranslator.java
│ └── util
│ │ ├── Abort.java
│ │ ├── AbstractDiagnosticFormatter.java
│ │ ├── AbstractLog.java
│ │ ├── Assert.java
│ │ ├── BaseFileManager.java
│ │ ├── BasicDiagnosticFormatter.java
│ │ ├── Bits.java
│ │ ├── ByteBuffer.java
│ │ ├── ClientCodeException.java
│ │ ├── CloseableURLClassLoader.java
│ │ ├── Constants.java
│ │ ├── Context.java
│ │ ├── Convert.java
│ │ ├── DiagnosticSource.java
│ │ ├── FatalError.java
│ │ ├── Filter.java
│ │ ├── ForwardingDiagnosticFormatter.java
│ │ ├── JCDiagnostic.java
│ │ ├── JavacMessages.java
│ │ ├── LayoutCharacters.java
│ │ ├── List.java
│ │ ├── ListBuffer.java
│ │ ├── Log.java
│ │ ├── MandatoryWarningHandler.java
│ │ ├── Name.java
│ │ ├── Names.java
│ │ ├── Options.java
│ │ ├── Pair.java
│ │ ├── Position.java
│ │ ├── PropagatedException.java
│ │ ├── RawDiagnosticFormatter.java
│ │ ├── RichDiagnosticFormatter.java
│ │ ├── SharedNameTable.java
│ │ ├── UnsharedNameTable.java
│ │ └── Warner.java
│ ├── javadoc
│ ├── AbstractTypeImpl.java
│ ├── AnnotationDescImpl.java
│ ├── AnnotationTypeDocImpl.java
│ ├── AnnotationTypeElementDocImpl.java
│ ├── AnnotationValueImpl.java
│ ├── ClassDocImpl.java
│ ├── Comment.java
│ ├── ConstructorDocImpl.java
│ ├── DocEnv.java
│ ├── DocImpl.java
│ ├── DocLocale.java
│ ├── DocletInvoker.java
│ ├── ExecutableMemberDocImpl.java
│ ├── FieldDocImpl.java
│ ├── JavadocClassReader.java
│ ├── JavadocEnter.java
│ ├── JavadocMemberEnter.java
│ ├── JavadocTodo.java
│ ├── JavadocTool.java
│ ├── Main.java
│ ├── MemberDocImpl.java
│ ├── Messager.java
│ ├── MethodDocImpl.java
│ ├── ModifierFilter.java
│ ├── PackageDocImpl.java
│ ├── ParamTagImpl.java
│ ├── ParameterImpl.java
│ ├── ParameterizedTypeImpl.java
│ ├── PrimitiveType.java
│ ├── ProgramElementDocImpl.java
│ ├── RootDocImpl.java
│ ├── SeeTagImpl.java
│ ├── SerialFieldTagImpl.java
│ ├── SerializedForm.java
│ ├── SourcePositionImpl.java
│ ├── Start.java
│ ├── TagImpl.java
│ ├── ThrowsTagImpl.java
│ ├── TypeMaker.java
│ ├── TypeVariableImpl.java
│ ├── WildcardTypeImpl.java
│ └── resources
│ │ ├── javadoc.properties
│ │ ├── javadoc_ja.properties
│ │ └── javadoc_zh_CN.properties
│ ├── javah
│ ├── Gen.java
│ ├── InternalError.java
│ ├── JNI.java
│ ├── JavahFileManager.java
│ ├── JavahTask.java
│ ├── JavahTool.java
│ ├── LLNI.java
│ ├── Main.java
│ ├── Mangle.java
│ ├── NativeHeaderTool.java
│ ├── TypeSignature.java
│ ├── Util.java
│ └── resources
│ │ ├── l10n.properties
│ │ ├── l10n_ja.properties
│ │ ├── l10n_zh_CN.properties
│ │ └── version.properties-template
│ └── javap
│ ├── AnnotationWriter.java
│ ├── AttributeWriter.java
│ ├── BasicWriter.java
│ ├── ClassWriter.java
│ ├── CodeWriter.java
│ ├── ConstantWriter.java
│ ├── Context.java
│ ├── DisassemblerTool.java
│ ├── InstructionDetailWriter.java
│ ├── InternalError.java
│ ├── JavapFileManager.java
│ ├── JavapTask.java
│ ├── LocalVariableTableWriter.java
│ ├── LocalVariableTypeTableWriter.java
│ ├── Main.java
│ ├── Messages.java
│ ├── Options.java
│ ├── SourceWriter.java
│ ├── StackMapWriter.java
│ ├── TryBlockWriter.java
│ ├── overview.html
│ ├── package.html
│ └── resources
│ ├── javap.properties
│ └── version.properties-template
└── javax
├── annotation
└── processing
│ ├── AbstractProcessor.java
│ ├── Completion.java
│ ├── Completions.java
│ ├── Filer.java
│ ├── FilerException.java
│ ├── Messager.java
│ ├── ProcessingEnvironment.java
│ ├── Processor.java
│ ├── RoundEnvironment.java
│ ├── SupportedAnnotationTypes.java
│ ├── SupportedOptions.java
│ ├── SupportedSourceVersion.java
│ └── package-info.java
├── lang
└── model
│ ├── SourceVersion.java
│ ├── UnknownEntityException.java
│ ├── element
│ ├── AnnotationMirror.java
│ ├── AnnotationValue.java
│ ├── AnnotationValueVisitor.java
│ ├── Element.java
│ ├── ElementKind.java
│ ├── ElementVisitor.java
│ ├── ExecutableElement.java
│ ├── Modifier.java
│ ├── Name.java
│ ├── NestingKind.java
│ ├── PackageElement.java
│ ├── Parameterizable.java
│ ├── QualifiedNameable.java
│ ├── TypeElement.java
│ ├── TypeParameterElement.java
│ ├── UnknownAnnotationValueException.java
│ ├── UnknownElementException.java
│ ├── VariableElement.java
│ └── package-info.java
│ ├── overview.html
│ ├── package-info.java
│ ├── type
│ ├── ArrayType.java
│ ├── DeclaredType.java
│ ├── ErrorType.java
│ ├── ExecutableType.java
│ ├── MirroredTypeException.java
│ ├── MirroredTypesException.java
│ ├── NoType.java
│ ├── NullType.java
│ ├── PrimitiveType.java
│ ├── ReferenceType.java
│ ├── TypeKind.java
│ ├── TypeMirror.java
│ ├── TypeVariable.java
│ ├── TypeVisitor.java
│ ├── UnionType.java
│ ├── UnknownTypeException.java
│ ├── WildcardType.java
│ └── package-info.java
│ └── util
│ ├── AbstractAnnotationValueVisitor6.java
│ ├── AbstractAnnotationValueVisitor7.java
│ ├── AbstractElementVisitor6.java
│ ├── AbstractElementVisitor7.java
│ ├── AbstractTypeVisitor6.java
│ ├── AbstractTypeVisitor7.java
│ ├── ElementFilter.java
│ ├── ElementKindVisitor6.java
│ ├── ElementKindVisitor7.java
│ ├── ElementScanner6.java
│ ├── ElementScanner7.java
│ ├── Elements.java
│ ├── SimpleAnnotationValueVisitor6.java
│ ├── SimpleAnnotationValueVisitor7.java
│ ├── SimpleElementVisitor6.java
│ ├── SimpleElementVisitor7.java
│ ├── SimpleTypeVisitor6.java
│ ├── SimpleTypeVisitor7.java
│ ├── TypeKindVisitor6.java
│ ├── TypeKindVisitor7.java
│ ├── Types.java
│ └── package-info.java
└── tools
├── Diagnostic.java
├── DiagnosticCollector.java
├── DiagnosticListener.java
├── FileObject.java
├── ForwardingFileObject.java
├── ForwardingJavaFileManager.java
├── ForwardingJavaFileObject.java
├── JavaCompiler.java
├── JavaFileManager.java
├── JavaFileObject.java
├── OptionChecker.java
├── SimpleJavaFileObject.java
├── StandardJavaFileManager.java
├── StandardLocation.java
├── Tool.java
├── ToolProvider.java
├── overview.html
└── package-info.java
/.gitignore:
--------------------------------------------------------------------------------
1 | out
2 | build
3 | .idea
4 | *.iml
5 | target
6 | npm-debug.log
7 | .classpath
8 | .settings/
9 | .project
10 |
--------------------------------------------------------------------------------
/README.markdown:
--------------------------------------------------------------------------------
1 | ### javac-openjdk7
2 |
3 | These are just the javac sources from openjdk, repackaged using `openjdk7` as top-level package and with a simple `pom.xml` to build the jar file in an easy way.
4 |
5 | The code comes from the _langtools_ of `openjdk7` but this is not a complete copy of the original tree contents. The intention is to have a standalone jar with the full `javac` machinery, as a stable reference point for research & fun.
6 |
7 | The license and copyright are those coming from the original sources.
8 |
9 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
34 | * All doclets support at least the 1.1 language version. 35 | * The first release subsequent to this with language changes 36 | * affecting doclets is 1.5. 37 | * 38 | * @since 1.5 39 | */ 40 | public enum LanguageVersion { 41 | 42 | /** 1.1 added nested classes and interfaces. */ 43 | JAVA_1_1, 44 | 45 | /** 1.5 added generic types, annotations, enums, and varArgs. */ 46 | JAVA_1_5 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/javadoc/MemberDoc.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 1998, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.javadoc; 27 | 28 | /** 29 | * Represents a member of a java class: field, constructor, or method. 30 | * This is an abstract class dealing with information common to 31 | * method, constructor and field members. Class members of a class 32 | * (innerclasses) are represented instead by ClassDoc. 33 | * 34 | * @see MethodDoc 35 | * @see FieldDoc 36 | * @see ClassDoc 37 | * 38 | * @author Kaiyang Liu (original) 39 | * @author Robert Field (rewrite) 40 | */ 41 | public interface MemberDoc extends ProgramElementDoc { 42 | 43 | /** 44 | * Returns true if this member was synthesized by the compiler. 45 | */ 46 | boolean isSynthetic(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/apt/AnnotationProcessorListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.apt; 27 | 28 | /** 29 | * Superinterface for all annotation processor event listeners. 30 | * 31 | * @deprecated All components of this API have been superseded by the 32 | * standardized annotation processing API. This interface has no 33 | * direct analog in the standardized API because the different round 34 | * model renders it unnecessary. 35 | * 36 | * @author Joseph D. Darcy 37 | * @author Scott Seligman 38 | * @since 1.5 39 | */ 40 | @Deprecated 41 | @SuppressWarnings("deprecation") 42 | public interface AnnotationProcessorListener extends java.util.EventListener {} 43 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/apt/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Classes used to communicate information between {@linkplain 28 | * openjdk7.com.sun.mirror.apt.AnnotationProcessor annotation processors} and 29 | * an annotation processing tool. 30 | * 31 | *
The {@code apt} tool and its associated API have been superseded 32 | * by the standardized annotation processing API. The replacement for 33 | * the functionality in this package is {@link 34 | * javax.annotation.processing}. 35 | * 36 | * @since 1.5 37 | */ 38 | package openjdk7.com.sun.mirror.apt; 39 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/declaration/ConstructorDeclaration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.declaration; 27 | 28 | 29 | /** 30 | * Represents a constructor of a class or interface. 31 | * 32 | * @deprecated All components of this API have been superseded by the 33 | * standardized annotation processing API. The replacement for the 34 | * functionality of this interface is included in {@link 35 | * javax.lang.model.element.ExecutableElement}. 36 | * 37 | * @author Joe Darcy 38 | * @author Scott Seligman 39 | * @since 1.5 40 | */ 41 | @Deprecated 42 | @SuppressWarnings("deprecation") 43 | public interface ConstructorDeclaration extends ExecutableDeclaration { 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/declaration/EnumConstantDeclaration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.declaration; 27 | 28 | 29 | /** 30 | * Represents an enum constant declaration. 31 | * 32 | * @deprecated All components of this API have been superseded by the 33 | * standardized annotation processing API. The replacement for the 34 | * functionality of this interface is included in {@link 35 | * javax.lang.model.element.VariableElement}. 36 | * 37 | * @author Joseph D. Darcy 38 | * @author Scott Seligman 39 | * @since 1.5 40 | */ 41 | @Deprecated 42 | @SuppressWarnings("deprecation") 43 | public interface EnumConstantDeclaration extends FieldDeclaration { 44 | /** 45 | * {@inheritDoc} 46 | */ 47 | EnumDeclaration getDeclaringType(); 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/declaration/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Interfaces used to model program element declarations. A 28 | * declaration is represented by the appropriate subinterface of 29 | * {@link openjdk7.com.sun.mirror.declaration.Declaration}, and an annotation 30 | * is represented as an {@link 31 | * openjdk7.com.sun.mirror.declaration.AnnotationMirror}. 32 | * 33 | *
The {@code apt} tool and its associated API have been superseded 34 | * by the standardized annotation processing API. The replacement for 35 | * the functionality in this package is {@link 36 | * javax.lang.model.element}. 37 | * 38 | * @since 1.5 39 | */ 40 | package openjdk7.com.sun.mirror.declaration; 41 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/type/AnnotationType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.type; 27 | 28 | 29 | import openjdk7.com.sun.mirror.declaration.AnnotationTypeDeclaration; 30 | 31 | 32 | /** 33 | * Represents an annotation type. 34 | * 35 | * @deprecated All components of this API have been superseded by the 36 | * standardized annotation processing API. The replacement for the 37 | * functionality of this interface is included in {@link 38 | * javax.lang.model.type.DeclaredType}. 39 | * 40 | * @author Joseph D. Darcy 41 | * @author Scott Seligman 42 | * @since 1.5 43 | */ 44 | @Deprecated 45 | @SuppressWarnings("deprecation") 46 | public interface AnnotationType extends InterfaceType { 47 | 48 | /** 49 | * {@inheritDoc} 50 | */ 51 | AnnotationTypeDeclaration getDeclaration(); 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/type/EnumType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.type; 27 | 28 | 29 | import openjdk7.com.sun.mirror.declaration.EnumDeclaration; 30 | 31 | 32 | /** 33 | * Represents an enum type. 34 | * 35 | * @deprecated All components of this API have been superseded by the 36 | * standardized annotation processing API. The replacement for the 37 | * functionality of this interface is included in {@link 38 | * javax.lang.model.type.DeclaredType}. 39 | * 40 | * @author Joseph D. Darcy 41 | * @author Scott Seligman 42 | * @since 1.5 43 | */ 44 | @Deprecated 45 | @SuppressWarnings("deprecation") 46 | public interface EnumType extends ClassType { 47 | 48 | /** 49 | * {@inheritDoc} 50 | */ 51 | EnumDeclaration getDeclaration(); 52 | } 53 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/type/ReferenceType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.type; 27 | 28 | 29 | /** 30 | * Represents a reference type. 31 | * These include class and interface types, array types, and type variables. 32 | * 33 | * @deprecated All components of this API have been superseded by the 34 | * standardized annotation processing API. The replacement for the 35 | * functionality of this interface is {@link 36 | * javax.lang.model.type.ReferenceType}. 37 | * 38 | * @author Joseph D. Darcy 39 | * @author Scott Seligman 40 | * @since 1.5 41 | */ 42 | @Deprecated 43 | @SuppressWarnings("deprecation") 44 | public interface ReferenceType extends TypeMirror { 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/type/VoidType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.mirror.type; 27 | 28 | 29 | import openjdk7.com.sun.mirror.declaration.MethodDeclaration; 30 | 31 | 32 | /** 33 | * A pseudo-type representing the type of void. 34 | * 35 | * @author Joseph D. Darcy 36 | * @author Scott Seligman 37 | * 38 | * @deprecated All components of this API have been superseded by the 39 | * standardized annotation processing API. The replacement for the 40 | * functionality of this interface is included in {@link 41 | * javax.lang.model.type.NoType}. 42 | * 43 | * @see MethodDeclaration#getReturnType() 44 | * @since 1.5 45 | */ 46 | @Deprecated 47 | @SuppressWarnings("deprecation") 48 | public interface VoidType extends TypeMirror { 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/type/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Interfaces used to model types. A type is represented by the 28 | * appropriate subinterface of {@link openjdk7.com.sun.mirror.type.TypeMirror}. 29 | * 30 | *
The {@code apt} tool and its associated API have been 31 | * superseded by the standardized annotation processing API. The 32 | * replacement for the functionality in this package is {@link 33 | * javax.lang.model.type}. 34 | * 35 | * @since 1.5 36 | */ 37 | package openjdk7.com.sun.mirror.type; 38 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/mirror/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Utilities to assist in the processing of {@linkplain 28 | * openjdk7.com.sun.mirror.declaration declarations} and {@linkplain 29 | * openjdk7.com.sun.mirror.type types}. 30 | * 31 | *
The {@code apt} tool and its associated API have been superseded 32 | * by the standardized annotation processing API. The replacement for 33 | * the functionality in this package is {@link javax.lang.model.util}. 34 | * 35 | * @since 1.5 36 | */ 37 | package openjdk7.com.sun.mirror.util; 38 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/AnnotationTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for an annotation. 32 | * 33 | * For example: 34 | *
35 | * {@code @}annotationType 36 | * {@code @}annotationType ( arguments ) 37 | *38 | * 39 | * @jls section 9.7 40 | * 41 | * @author Peter von der Ahé 42 | * @author Jonathan Gibbons 43 | * @since 1.6 44 | */ 45 | public interface AnnotationTree extends ExpressionTree { 46 | Tree getAnnotationType(); 47 | List extends ExpressionTree> getArguments(); 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ArrayAccessTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an array access expression. 30 | * 31 | * For example: 32 | *
33 | * expression [ index ] 34 | *35 | * 36 | * @jls section 15.13 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface ArrayAccessTree extends ExpressionTree { 43 | ExpressionTree getExpression(); 44 | ExpressionTree getIndex(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ArrayTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an array type. 30 | * 31 | * For example: 32 | *
33 | * type [] 34 | *35 | * 36 | * @jls section 10.1 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface ArrayTypeTree extends Tree { 43 | Tree getType(); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/AssertTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an 'assert' statement. 30 | * 31 | * For example: 32 | *
33 | * assert condition ; 34 | * 35 | * assert condition : detail ; 36 | *37 | * 38 | * @jls section 14.10 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface AssertTree extends StatementTree { 45 | ExpressionTree getCondition(); 46 | ExpressionTree getDetail(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/AssignmentTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an assignment expression. 30 | * 31 | * For example: 32 | *
33 | * variable = expression 34 | *35 | * 36 | * @jls section 15.26.1 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface AssignmentTree extends ExpressionTree { 43 | ExpressionTree getVariable(); 44 | ExpressionTree getExpression(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/BinaryTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a binary expression. 30 | * Use {@link #getKind getKind} to determine the kind of operator. 31 | * 32 | * For example: 33 | *
34 | * leftOperand operator rightOperand 35 | *36 | * 37 | * @jls sections 15.17 to 15.24 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface BinaryTree extends ExpressionTree { 44 | ExpressionTree getLeftOperand(); 45 | ExpressionTree getRightOperand(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/BlockTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a statement block. 32 | * 33 | * For example: 34 | *
35 | * { } 36 | * 37 | * { statements } 38 | * 39 | * static { statements } 40 | *41 | * 42 | * @jls section 14.2 43 | * 44 | * @author Peter von der Ahé 45 | * @author Jonathan Gibbons 46 | * @since 1.6 47 | */ 48 | public interface BlockTree extends StatementTree { 49 | boolean isStatic(); 50 | List extends StatementTree> getStatements(); 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/BreakTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for a 'break' statement. 32 | * 33 | * For example: 34 | *
35 | * break; 36 | * 37 | * break label ; 38 | *39 | * 40 | * @jls section 14.15 41 | * 42 | * @author Peter von der Ahé 43 | * @author Jonathan Gibbons 44 | * @since 1.6 45 | */ 46 | public interface BreakTree extends StatementTree { 47 | Name getLabel(); 48 | } 49 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/CaseTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a 'case' in a 'switch' statement. 32 | * 33 | * For example: 34 | *
35 | * case expression : 36 | * statements 37 | * 38 | * default : 39 | * statements 40 | *41 | * 42 | * @jls section 14.11 43 | * 44 | * @author Peter von der Ahé 45 | * @author Jonathan Gibbons 46 | * @since 1.6 47 | */ 48 | public interface CaseTree extends Tree { 49 | /** 50 | * @return null if and only if this Case is {@code default:} 51 | */ 52 | ExpressionTree getExpression(); 53 | List extends StatementTree> getStatements(); 54 | } 55 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/CatchTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'catch' block in a 'try' statement. 30 | * 31 | * For example: 32 | *
33 | * catch ( parameter ) 34 | * block 35 | *36 | * 37 | * @jls section 14.20 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface CatchTree extends Tree { 44 | VariableTree getParameter(); 45 | BlockTree getBlock(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/CompoundAssignmentTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for compound assignment operator. 30 | * Use {@link #getKind getKind} to determine the kind of operator. 31 | * 32 | * For example: 33 | *
34 | * variable operator expression 35 | *36 | * 37 | * @jls section 15.26.2 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface CompoundAssignmentTree extends ExpressionTree { 44 | ExpressionTree getVariable(); 45 | ExpressionTree getExpression(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ConditionalExpressionTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for the conditional operator ? :. 30 | * 31 | * For example: 32 | *
33 | * condition ? trueExpression : falseExpression 34 | *35 | * 36 | * @jls section 15.25 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface ConditionalExpressionTree extends ExpressionTree { 43 | ExpressionTree getCondition(); 44 | ExpressionTree getTrueExpression(); 45 | ExpressionTree getFalseExpression(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ContinueTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for a 'continue' statement. 32 | * 33 | * For example: 34 | *
35 | * continue; 36 | * continue label ; 37 | *38 | * 39 | * @jls section 14.16 40 | * 41 | * @author Peter von der Ahé 42 | * @author Jonathan Gibbons 43 | * @since 1.6 44 | */ 45 | public interface ContinueTree extends StatementTree { 46 | Name getLabel(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/DoWhileLoopTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'do' statement. 30 | * 31 | * For example: 32 | *
33 | * do 34 | * statement 35 | * while ( expression ); 36 | *37 | * 38 | * @jls section 14.13 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface DoWhileLoopTree extends StatementTree { 45 | ExpressionTree getCondition(); 46 | StatementTree getStatement(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/EmptyStatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an empty (skip) statement. 30 | * 31 | * For example: 32 | *
33 | * ; 34 | *35 | * 36 | * @jls section 14.6 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface EmptyStatementTree extends StatementTree {} 43 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/EnhancedForLoopTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an "enhanced" 'for' loop statement. 30 | * 31 | * For example: 32 | *
33 | * for ( variable : expression ) 34 | * statement 35 | *36 | * 37 | * @jls section 14.14.2 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface EnhancedForLoopTree extends StatementTree { 44 | VariableTree getVariable(); 45 | ExpressionTree getExpression(); 46 | StatementTree getStatement(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ErroneousTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node to stand in for a malformed expression. 32 | * 33 | * @author Peter von der Ahé 34 | * @author Jonathan Gibbons 35 | * @since 1.6 36 | */ 37 | public interface ErroneousTree extends ExpressionTree { 38 | List extends Tree> getErrorTrees(); 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ExpressionStatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an expression statement. 30 | * 31 | * For example: 32 | *
33 | * expression ; 34 | *35 | * 36 | * @jls section 14.8 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface ExpressionStatementTree extends StatementTree { 43 | ExpressionTree getExpression(); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ExpressionTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node used as the base class for the different types of 30 | * expressions. 31 | * 32 | * @jls chapter 15 33 | * 34 | * @author Peter von der Ahé 35 | * @author Jonathan Gibbons 36 | * @since 1.6 37 | */ 38 | public interface ExpressionTree extends Tree {} 39 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ForLoopTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a basic 'for' loop statement. 32 | * 33 | * For example: 34 | *
35 | * for ( initializer ; condition ; update ) 36 | * statement 37 | *38 | * 39 | * @jls section 14.14.1 40 | * 41 | * @author Peter von der Ahé 42 | * @author Jonathan Gibbons 43 | * @since 1.6 44 | */ 45 | public interface ForLoopTree extends StatementTree { 46 | List extends StatementTree> getInitializer(); 47 | ExpressionTree getCondition(); 48 | List extends ExpressionStatementTree> getUpdate(); 49 | StatementTree getStatement(); 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/IdentifierTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for an identifier expression. 32 | * 33 | * For example: 34 | *
35 | * name 36 | *37 | * 38 | * @jls section 6.5.6.1 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface IdentifierTree extends ExpressionTree { 45 | Name getName(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/IfTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an 'if' statement. 30 | * 31 | * For example: 32 | *
33 | * if ( condition ) 34 | * thenStatement 35 | * 36 | * if ( condition ) 37 | * thenStatement 38 | * else 39 | * elseStatement 40 | *41 | * 42 | * @jls section 14.9 43 | * 44 | * @author Peter von der Ahé 45 | * @author Jonathan Gibbons 46 | * @since 1.6 47 | */ 48 | public interface IfTree extends StatementTree { 49 | ExpressionTree getCondition(); 50 | StatementTree getThenStatement(); 51 | /** 52 | * @return null if this if statement has no else branch. 53 | */ 54 | StatementTree getElseStatement(); 55 | } 56 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ImportTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an import statement. 30 | * 31 | * For example: 32 | *
33 | * import qualifiedIdentifier ; 34 | * 35 | * static import qualifiedIdentifier ; 36 | *37 | * 38 | * @jls section 7.5 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface ImportTree extends Tree { 45 | boolean isStatic(); 46 | /** 47 | * @return a qualified identifier ending in "*" if and only if 48 | * this is an import-on-demand. 49 | */ 50 | Tree getQualifiedIdentifier(); 51 | } 52 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/InstanceOfTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for an 'instanceof' expression. 30 | * 31 | * For example: 32 | *
33 | * expression instanceof type 34 | *35 | * 36 | * @jls section 15.20.2 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface InstanceOfTree extends ExpressionTree { 43 | ExpressionTree getExpression(); 44 | Tree getType(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/LabeledStatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for a labeled statement. 32 | * 33 | * For example: 34 | *
35 | * label : statement 36 | *37 | * 38 | * @jls section 14.7 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface LabeledStatementTree extends StatementTree { 45 | Name getLabel(); 46 | StatementTree getStatement(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/LiteralTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a literal expression. 30 | * Use {@link #getKind getKind} to determine the kind of literal. 31 | * 32 | * For example: 33 | *
34 | * value 35 | *36 | * 37 | * @jls section 15.28 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface LiteralTree extends ExpressionTree { 44 | Object getValue(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/MemberSelectTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for a member access expression. 32 | * 33 | * For example: 34 | *
35 | * expression . identifier 36 | *37 | * 38 | * @jls sections 6.5, 15.11,and 15.12 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface MemberSelectTree extends ExpressionTree { 45 | ExpressionTree getExpression(); 46 | Name getIdentifier(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/MethodInvocationTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a method invocation expression. 32 | * 33 | * For example: 34 | *
35 | * identifier ( arguments ) 36 | * 37 | * this . typeArguments identifier ( arguments ) 38 | *39 | * 40 | * @jls section 15.12 41 | * 42 | * @author Peter von der Ahé 43 | * @author Jonathan Gibbons 44 | * @since 1.6 45 | */ 46 | public interface MethodInvocationTree extends ExpressionTree { 47 | List extends Tree> getTypeArguments(); 48 | ExpressionTree getMethodSelect(); 49 | List extends ExpressionTree> getArguments(); 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ModifiersTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | import java.util.Set; 30 | import javax.lang.model.element.Modifier; 31 | 32 | /** 33 | * A tree node for the modifiers, including annotations, for a declaration. 34 | * 35 | * For example: 36 | *
37 | * flags 38 | * 39 | * flags annotations 40 | *41 | * 42 | * @jls sections 8.1.1, 8.3.1, 8.4.3, 8.5.1, 8.8.3, 9.1.1, and 9.7 43 | * 44 | * @author Peter von der Ahé 45 | * @author Jonathan Gibbons 46 | * @since 1.6 47 | */ 48 | public interface ModifiersTree extends Tree { 49 | Set
35 | * new type dimensions initializers 36 | * 37 | * new type dimensions [ ] initializers 38 | *39 | * 40 | * @jls section 15.10 41 | * 42 | * @author Peter von der Ahé 43 | * @author Jonathan Gibbons 44 | * @since 1.6 45 | */ 46 | public interface NewArrayTree extends ExpressionTree { 47 | Tree getType(); 48 | List extends ExpressionTree> getDimensions(); 49 | List extends ExpressionTree> getInitializers(); 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ParameterizedTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a type expression involving type parameters. 32 | * 33 | * For example: 34 | *
35 | * type < typeArguments > 36 | *37 | * 38 | * @jls section 4.5.1 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface ParameterizedTypeTree extends Tree { 45 | Tree getType(); 46 | List extends Tree> getTypeArguments(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ParenthesizedTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a parenthesized expression. Note: parentheses 30 | * not be preserved by the parser. 31 | * 32 | * For example: 33 | *
34 | * ( expression ) 35 | *36 | * 37 | * @jls section 15.8.5 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface ParenthesizedTree extends ExpressionTree { 44 | ExpressionTree getExpression(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/PrimitiveTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.type.TypeKind; 29 | 30 | /** 31 | * A tree node for a primitive type. 32 | * 33 | * For example: 34 | *
35 | * primitiveTypeKind 36 | *37 | * 38 | * @jls section 4.2 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface PrimitiveTypeTree extends Tree { 45 | TypeKind getPrimitiveTypeKind(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ReturnTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'return' statement. 30 | * 31 | * For example: 32 | *
33 | * return; 34 | * return expression; 35 | *36 | * 37 | * @jls section 14.17 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface ReturnTree extends StatementTree { 44 | ExpressionTree getExpression(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/StatementTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node used as the base class for the different kinds of 30 | * statements. 31 | * 32 | * @jls chapter 14 33 | * 34 | * @author Peter von der Ahé 35 | * @author Jonathan Gibbons 36 | * @since 1.6 37 | */ 38 | public interface StatementTree extends Tree {} 39 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/SwitchTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a 'switch' statement. 32 | * 33 | * For example: 34 | *
35 | * switch ( expression ) { 36 | * cases 37 | * } 38 | *39 | * 40 | * @jls section 14.11 41 | * 42 | * @author Peter von der Ahé 43 | * @author Jonathan Gibbons 44 | * @since 1.6 45 | */ 46 | public interface SwitchTree extends StatementTree { 47 | ExpressionTree getExpression(); 48 | List extends CaseTree> getCases(); 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/SynchronizedTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'synchronized' statement. 30 | * 31 | * For example: 32 | *
33 | * synchronized ( expression ) 34 | * block 35 | *36 | * 37 | * @jls section 14.19 38 | * 39 | * @author Peter von der Ahé 40 | * @author Jonathan Gibbons 41 | * @since 1.6 42 | */ 43 | public interface SynchronizedTree extends StatementTree { 44 | ExpressionTree getExpression(); 45 | BlockTree getBlock(); 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/ThrowTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'throw' statement. 30 | * 31 | * For example: 32 | *
33 | * throw expression; 34 | *35 | * 36 | * @jls section 14.18 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface ThrowTree extends StatementTree { 43 | ExpressionTree getExpression(); 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/TryTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a 'try' statement. 32 | * 33 | * For example: 34 | *
35 | * try 36 | * block 37 | * catches 38 | * finally 39 | * finallyBlock 40 | *41 | * 42 | * @jls section 14.20 43 | * 44 | * @author Peter von der Ahé 45 | * @author Jonathan Gibbons 46 | * @since 1.6 47 | */ 48 | public interface TryTree extends StatementTree { 49 | BlockTree getBlock(); 50 | List extends CatchTree> getCatches(); 51 | BlockTree getFinallyBlock(); 52 | List extends Tree> getResources(); 53 | } 54 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/TypeCastTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a type cast expression. 30 | * 31 | * For example: 32 | *
33 | * ( type ) expression 34 | *35 | * 36 | * @jls section 15.16 37 | * 38 | * @author Peter von der Ahé 39 | * @author Jonathan Gibbons 40 | * @since 1.6 41 | */ 42 | public interface TypeCastTree extends ExpressionTree { 43 | Tree getType(); 44 | ExpressionTree getExpression(); 45 | } 46 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/TypeParameterTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | import javax.lang.model.element.Name; 30 | 31 | /** 32 | * A tree node for a type parameter. 33 | * 34 | * For example: 35 | *
36 | * name 37 | * 38 | * name extends bounds 39 | *40 | * 41 | * @jls section 4.4 42 | * 43 | * @author Peter von der Ahé 44 | * @author Jonathan Gibbons 45 | * @since 1.6 46 | */ 47 | public interface TypeParameterTree extends Tree { 48 | Name getName(); 49 | List extends Tree> getBounds(); 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/UnaryTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for postfix and unary expressions. 30 | * Use {@link #getKind getKind} to determine the kind of operator. 31 | * 32 | * For example: 33 | *
34 | * operator expression 35 | * 36 | * expression operator 37 | *38 | * 39 | * @jls sections 15.14 and 15.15 40 | * 41 | * @author Peter von der Ahé 42 | * @author Jonathan Gibbons 43 | * @since 1.6 44 | */ 45 | public interface UnaryTree extends ExpressionTree { 46 | ExpressionTree getExpression(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/UnionTypeTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import java.util.List; 29 | 30 | /** 31 | * A tree node for a union type expression in a multicatch var declaration. 32 | * 33 | * @author Maurizio Cimadamore 34 | * 35 | * @since 1.7 36 | */ 37 | public interface UnionTypeTree extends Tree { 38 | List extends Tree> getTypeAlternatives(); 39 | } 40 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/VariableTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | import javax.lang.model.element.Name; 29 | 30 | /** 31 | * A tree node for a variable declaration. 32 | * 33 | * For example: 34 | *
35 | * modifiers type name initializer ; 36 | *37 | * 38 | * @jls sections 8.3 and 14.4 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface VariableTree extends StatementTree { 45 | ModifiersTree getModifiers(); 46 | Name getName(); 47 | Tree getType(); 48 | ExpressionTree getInitializer(); 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/WhileLoopTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a 'while' loop statement. 30 | * 31 | * For example: 32 | *
33 | * while ( condition ) 34 | * statement 35 | *36 | * 37 | * 38 | * @jls section 14.12 39 | * 40 | * @author Peter von der Ahé 41 | * @author Jonathan Gibbons 42 | * @since 1.6 43 | */ 44 | public interface WhileLoopTree extends StatementTree { 45 | ExpressionTree getCondition(); 46 | StatementTree getStatement(); 47 | } 48 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/WildcardTree.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.tree; 27 | 28 | /** 29 | * A tree node for a wildcard type argument. 30 | * Use {@link #getKind getKind} to determine the kind of bound. 31 | * 32 | * For example: 33 | *
34 | * ? 35 | * 36 | * ? extends bound 37 | * 38 | * ? super bound 39 | *40 | * 41 | * @jls section 4.5.1 42 | * 43 | * @author Peter von der Ahé 44 | * @author Jonathan Gibbons 45 | * @since 1.6 46 | */ 47 | public interface WildcardTree extends Tree { 48 | Tree getBound(); 49 | } 50 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/tree/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Provides interfaces to represent source code as abstract syntax 28 | * trees (AST). 29 | * 30 | * @author Peter von der Ahé 31 | * @author Jonathan Gibbons 32 | * @since 1.6 33 | */ 34 | package openjdk7.com.sun.source.tree; 35 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/util/TaskListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.source.util; 27 | 28 | 29 | /** 30 | * Provides a listener to monitor the activity of the JDK Java Compiler, javac. 31 | * 32 | * @author Jonathan Gibbons 33 | * @since 1.6 34 | */ 35 | public interface TaskListener 36 | { 37 | public void started(TaskEvent e); 38 | 39 | public void finished(TaskEvent e); 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/source/util/package-info.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | /** 27 | * Provides utilities for operations on abstract syntax trees (AST). 28 | * 29 | * @author Peter von der Ahé 30 | * @author Jonathan Gibbons 31 | * @since 1.6 32 | */ 33 | package openjdk7.com.sun.source.util; 34 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/apt/comp/AnnotationProcessingError.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.tools.apt.comp; 27 | 28 | public class AnnotationProcessingError extends Error { 29 | private static final long serialVersionUID = 3279196183341719287L; 30 | AnnotationProcessingError(Throwable cause) { 31 | super(cause); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/apt/comp/UsageMessageNeededException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.tools.apt.comp; 27 | 28 | 29 | public class UsageMessageNeededException extends RuntimeException { 30 | private static final long serialVersionUID = -3265159608992825840L; 31 | } 32 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/apt/mirror/apt/RoundCompleteEventImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.tools.apt.mirror.apt; 27 | 28 | import openjdk7.com.sun.mirror.apt.AnnotationProcessorEnvironment; 29 | import openjdk7.com.sun.mirror.apt.RoundCompleteEvent; 30 | import openjdk7.com.sun.mirror.apt.RoundState; 31 | 32 | @SuppressWarnings("deprecation") 33 | public class RoundCompleteEventImpl extends RoundCompleteEvent { 34 | private static final long serialVersionUID = 7067621446720784300L; 35 | 36 | public RoundCompleteEventImpl(AnnotationProcessorEnvironment source, 37 | RoundState rs) { 38 | super(source, rs); 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/apt/mirror/type/VoidTypeImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.tools.apt.mirror.type; 27 | 28 | 29 | import openjdk7.com.sun.mirror.type.VoidType; 30 | import openjdk7.com.sun.mirror.util.TypeVisitor; 31 | import openjdk7.com.sun.tools.apt.mirror.AptEnv; 32 | 33 | 34 | /** 35 | * Implementation of VoidType. 36 | */ 37 | @SuppressWarnings("deprecation") 38 | class VoidTypeImpl extends TypeMirrorImpl implements VoidType { 39 | 40 | VoidTypeImpl(AptEnv env) { 41 | super(env, env.symtab.voidType); 42 | } 43 | 44 | /** 45 | * {@inheritDoc} 46 | */ 47 | public void accept(TypeVisitor v) { 48 | v.visitVoidType(this); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/classfile/AttributeException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | package openjdk7.com.sun.tools.classfile; 27 | 28 | /* 29 | *
This is NOT part of any supported API. 30 | * If you write code that depends on this, you do so at your own risk. 31 | * This code and its internal interfaces are subject to change or 32 | * deletion without notice. 33 | */ 34 | public class AttributeException extends Exception { 35 | private static final long serialVersionUID = -4231486387714867770L; 36 | AttributeException() { } 37 | 38 | AttributeException(String msg) { 39 | super(msg); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/classfile/ConstantPoolException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | 27 | package openjdk7.com.sun.tools.classfile; 28 | 29 | /* 30 | *
This is NOT part of any supported API. 31 | * If you write code that depends on this, you do so at your own risk. 32 | * This code and its internal interfaces are subject to change or 33 | * deletion without notice. 34 | */ 35 | public class ConstantPoolException extends Exception { 36 | private static final long serialVersionUID = -2324397349644754565L; 37 | ConstantPoolException(int index) { 38 | this.index = index; 39 | } 40 | 41 | public final int index; 42 | } 43 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/classfile/DescriptorException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2008, 2009, Oracle and/or its affiliates. All rights reserved. 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 | * 5 | * This code is free software; you can redistribute it and/or modify it 6 | * under the terms of the GNU General Public License version 2 only, as 7 | * published by the Free Software Foundation. Oracle designates this 8 | * particular file as subject to the "Classpath" exception as provided 9 | * by Oracle in the LICENSE file that accompanied this code. 10 | * 11 | * This code is distributed in the hope that it will be useful, but WITHOUT 12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 | * version 2 for more details (a copy is included in the LICENSE file that 15 | * accompanied this code). 16 | * 17 | * You should have received a copy of the GNU General Public License version 18 | * 2 along with this work; if not, write to the Free Software Foundation, 19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 | * 21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 | * or visit www.oracle.com if you need additional information or have any 23 | * questions. 24 | */ 25 | 26 | 27 | package openjdk7.com.sun.tools.classfile; 28 | 29 | /* 30 | *
This is NOT part of any supported API. 31 | * If you write code that depends on this, you do so at your own risk. 32 | * This code and its internal interfaces are subject to change or 33 | * deletion without notice. 34 | */ 35 | public class DescriptorException extends Exception { 36 | private static final long serialVersionUID = 2411890273788901032L; 37 | } 38 | -------------------------------------------------------------------------------- /src/main/java/openjdk7/com/sun/tools/classfile/package.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
39 | This code is not part of an API.
40 | It is implementation that is subject to change.
41 | Do not use it as an API.
42 |
43 |
44 |
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/background.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/loverdos/javac-openjdk7/c561334fa4e9b3439426bfcc91cc5efbddefabe1/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/background.gif
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/tab.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/loverdos/javac-openjdk7/c561334fa4e9b3439426bfcc91cc5efbddefabe1/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/tab.gif
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/titlebar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/loverdos/javac-openjdk7/c561334fa4e9b3439426bfcc91cc5efbddefabe1/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/titlebar.gif
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/titlebar_end.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/loverdos/javac-openjdk7/c561334fa4e9b3439426bfcc91cc5efbddefabe1/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/resources/titlebar_end.gif
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/taglets/BaseInlineTaglet.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2001, 2003, Oracle and/or its affiliates. All rights reserved.
3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 | *
5 | * This code is free software; you can redistribute it and/or modify it
6 | * under the terms of the GNU General Public License version 2 only, as
7 | * published by the Free Software Foundation. Oracle designates this
8 | * particular file as subject to the "Classpath" exception as provided
9 | * by Oracle in the LICENSE file that accompanied this code.
10 | *
11 | * This code is distributed in the hope that it will be useful, but WITHOUT
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 | * version 2 for more details (a copy is included in the LICENSE file that
15 | * accompanied this code).
16 | *
17 | * You should have received a copy of the GNU General Public License version
18 | * 2 along with this work; if not, write to the Free Software Foundation,
19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 | *
21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 | * or visit www.oracle.com if you need additional information or have any
23 | * questions.
24 | */
25 |
26 | package openjdk7.com.sun.tools.doclets.internal.toolkit.taglets;
27 |
28 | /**
29 | * An abstract inline taglet that outputs HTML.
30 | *
31 | * This code is not part of an API.
32 | * It is implementation that is subject to change.
33 | * Do not use it as an API
34 | *
35 | * @author Jamie Ho
36 | * @since 1.4
37 | */
38 |
39 | public abstract class BaseInlineTaglet extends BaseTaglet {
40 |
41 | /**
42 | * Will return true since this is an inline tag.
43 | * @return true since this is an inline tag.
44 | */
45 | public boolean isInlineTag() {
46 | return true;
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/taglets/DeprecatedTaglet.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 | *
5 | * This code is free software; you can redistribute it and/or modify it
6 | * under the terms of the GNU General Public License version 2 only, as
7 | * published by the Free Software Foundation. Oracle designates this
8 | * particular file as subject to the "Classpath" exception as provided
9 | * by Oracle in the LICENSE file that accompanied this code.
10 | *
11 | * This code is distributed in the hope that it will be useful, but WITHOUT
12 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 | * version 2 for more details (a copy is included in the LICENSE file that
15 | * accompanied this code).
16 | *
17 | * You should have received a copy of the GNU General Public License version
18 | * 2 along with this work; if not, write to the Free Software Foundation,
19 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 | *
21 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 | * or visit www.oracle.com if you need additional information or have any
23 | * questions.
24 | */
25 |
26 | package openjdk7.com.sun.tools.doclets.internal.toolkit.taglets;
27 |
28 | import openjdk7.com.sun.javadoc.*;
29 |
30 | /**
31 | * A taglet that represents the @deprecated tag.
32 | *
33 | * This code is not part of an API.
34 | * It is implementation that is subject to change.
35 | * Do not use it as an API
36 | *
37 | * @author Jamie Ho
38 | * @since 1.5
39 | */
40 |
41 | public class DeprecatedTaglet extends BaseTaglet{
42 |
43 | public DeprecatedTaglet() {
44 | name = "deprecated";
45 | }
46 |
47 | /**
48 | * {@inheritDoc}
49 | */
50 | public TagletOutput getTagletOutput(Doc holder, TagletWriter writer) {
51 | return writer.deprecatedTagOutput(holder);
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/internal/toolkit/taglets/ExpertTaglet.java:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2006, 2012 Oracle and/or its affiliates. All rights reserved.
3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4 | */
5 |
6 | package openjdk7.com.sun.tools.doclets.internal.toolkit.taglets;
7 |
8 | import java.util.Map;
9 | import openjdk7.com.sun.tools.doclets.Taglet;
10 | import openjdk7.com.sun.javadoc.Tag;
11 |
12 | public class ExpertTaglet implements Taglet {
13 |
14 | private static final String NAME = "expert";
15 | private static final String START_TAG = "";
16 | private static final String END_TAG = "";
17 |
18 | public boolean inField() {
19 | return true;
20 | }
21 |
22 | public boolean inConstructor() {
23 | return true;
24 | }
25 |
26 | public boolean inMethod() {
27 | return true;
28 | }
29 |
30 | public boolean inOverview() {
31 | return true;
32 | }
33 |
34 | public boolean inPackage() {
35 | return true;
36 | }
37 |
38 | public boolean inType() {
39 | return true;
40 | }
41 |
42 | public boolean isInlineTag() {
43 | return false;
44 | }
45 |
46 | public String getName() {
47 | return NAME;
48 | }
49 |
50 | public static void register(Map
34 | This code is not part of an API.
35 | It is implementation that is subject to change.
36 | Do not use it as an API.
37 |
38 |
39 |
--------------------------------------------------------------------------------
/src/main/java/openjdk7/com/sun/tools/doclets/package.html:
--------------------------------------------------------------------------------
1 |
25 |
26 |
27 |