Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: javax/ide/model/java/source/tree/FieldDeclT.java


1   /*
2    * @(#)FieldDeclT.java
3    */
4   
5   package javax.ide.model.java.source.tree;
6   
7   /**
8    * A field (or enum constant) declaration. <p/>
9    *
10   * @author Andy Yu
11   * */
12  public interface FieldDeclT
13    extends MemberT, VariableDeclT
14  {
15    // ----------------------------------------------------------------------
16  
17    static final FieldDeclT[] EMPTY_ARRAY =
18      new FieldDeclT[ 0 ];
19  
20  
21    // ----------------------------------------------------------------------
22  
23    /**
24     * True if this is public.
25     *
26     * @return True if element is modified with "final".
27     */
28    public boolean isPublic();
29  
30    /**
31     * True if this is protected.
32     *
33     * @return True if element is modified with "protected".
34     */
35    public boolean isProtected();
36  
37    /**
38     * True if this is private.
39     *
40     * @return True if element is modified with "private".
41     */
42    public boolean isPrivate();
43  
44    /**
45     * True if this is static.
46     *
47     * @return True if element is modified with "static".
48     */
49    public boolean isStatic();
50  
51    /**
52     * True if this is abstract.
53     *
54     * @return True if element is modified with "abstract".
55     */
56    public boolean isAbstract();
57  
58  
59    // ----------------------------------------------------------------------
60  }