javax.lang.model.element

Home
Java Source Code / Java Documentation
1.6.0 JDK Core
2.6.0 JDK Modules
3.6.0 JDK Modules com.sun
4.6.0 JDK Modules com.sun.java
5.6.0 JDK Modules sun
6.6.0 JDK Platform
7.Ajax
8.Apache Harmony Java SE
9.Aspect oriented
10.Authentication Authorization
11.Blogger System
12.Build
13.Byte Code
14.Cache
15.Chart
16.Chat
17.Code Analyzer
18.Collaboration
19.Content Management System
20.Database Client
21.Database DBMS
22.Database JDBC Connection Pool
23.Database ORM
24.Development
25.EJB Server
26.ERP CRM Financial
27.ESB
28.Forum
29.Game
30.GIS
31.Graphic 3D
32.Graphic Library
33.Groupware
34.HTML Parser
35.IDE
36.IDE Eclipse
37.IDE Netbeans
38.Installer
39.Internationalization Localization
40.Inversion of Control
41.Issue Tracking
42.J2EE
43.J2ME
44.JBoss
45.JMS
46.JMX
47.Library
48.Mail Clients
49.Music
50.Net
51.Parser
52.PDF
53.Portal
54.Profiler
55.Project Management
56.Report
57.RSS RDF
58.Rule Engine
59.Science
60.Scripting
61.Search Engine
62.Security
63.Sevlet Container
64.Source Control
65.Swing Library
66.Template Engine
67.Test Coverage
68.Testing
69.UML
70.Web Crawler
71.Web Framework
72.Web Mail
73.Web Server
74.Web Services
75.Web Services apache cxf 2.2.6
76.Web Services AXIS2
77.Wiki Engine
78.Workflow Engines
79.XML
80.XML UI
Java Source Code / Java Documentation » 6.0 JDK Core » lang » javax.lang.model.element 
javax.lang.model.element
Java Source File NameTypeComment
AnnotationMirror.javaInterface Represents an annotation.
AnnotationValue.javaInterface Represents a value of an annotation type element. A value is of one of the following types:
  • a wrapper class (such as Integer ) for a primitive type
  • String
  • TypeMirror
  • VariableElement (representing an enum constant)
  • AnnotationMirror
  • List (representing the elements, in declared order, if the value is an array)

author:
   Joseph D.
AnnotationValueVisitor.javaInterface A visitor of the values of annotation type elements, using a variant of the visitor design pattern.
Element.javaInterface Represents a program element such as a package, class, or method. Each element represents a static, language-level construct (and not, for example, a runtime construct of the virtual machine).

Elements should be compared using the Element.equals(Object) method.

ElementKind.javaenum The kind of an element.

Note that it is possible additional element kinds will be added to accommodate new, currently unknown, language structures added to future versions of the Java™ programming language.
author:
   Joseph D.

ElementVisitor.javaInterface A visitor of program elements, in the style of the visitor design pattern.
ExecutableElement.javaInterface Represents a method, constructor, or initializer (static or instance) of a class or interface, including annotation type elements.
author:
   Joseph D.
Modifier.javaenum Represents a modifier on a program element such as a class, method, or field.

Not all modifiers are applicable to all kinds of elements. When two or more modifiers appear in the source code of an element then it is customary, though not required, that they appear in the same order as the constants listed in the detail section below.

Note that it is possible additional modifiers will be added in future versions of the platform.
author:
   Joseph D.

Name.javaInterface An immutable sequence of characters.
NestingKind.javaenum The nesting kind of a type element. Type elements come in four varieties: top-level, member, local, and anonymous. Nesting kind is a non-standard term used here to denote this classification.

Note that it is possible additional nesting kinds will be added in future versions of the platform.

Example: The classes below are annotated with their nesting kind.

 import java.lang.annotation.*;
 import static java.lang.annotation.RetentionPolicy.*;
 import javax.lang.model.element.*;
 import static javax.lang.model.element.NestingKind.*;
 @Nesting(TOP_LEVEL)
 public class NestingExamples {
 @Nesting(MEMBER)
 static class MemberClass1{}
 @Nesting(MEMBER)
 class MemberClass2{}
 public static void main(String...
package-info.java
PackageElement.javaInterface Represents a package program element.
TypeElement.javaInterface Represents a class or interface program element.
TypeParameterElement.javaInterface Represents a formal type parameter of a generic class, interface, method, or constructor element. A type parameter declares a TypeVariable .
author:
   Joseph D.
UnknownAnnotationValueException.javaClass Indicates that an unknown kind of annotation value was encountered. This can occur if the language evolves and new kinds of annotation values can be stored in an annotation.
UnknownElementException.javaClass Indicates that an unknown kind of element was encountered.
VariableElement.javaInterface Represents a field, enum constant, method or constructor parameter, local variable, or exception parameter.
author:
   Joseph D.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.