1 22 package org.jboss.reflect.spi; 23 24 import java.lang.reflect.Modifier ; 25 26 31 public interface ModifierInfo 32 { 33 34 public static final int FINAL = Modifier.FINAL; 35 36 37 public static final int STATIC = Modifier.STATIC; 38 39 40 public static final int ABSTRACT = Modifier.ABSTRACT; 41 42 43 public static final int PUBLIC = Modifier.PUBLIC; 44 45 46 public static final int PROTECTED = Modifier.PROTECTED; 47 48 49 public static final int PACKAGE = 0; 50 51 52 public static final int PRIVATE = Modifier.PRIVATE; 53 54 55 public static final int CONSTANT = STATIC + FINAL; 56 57 58 public static final int PUBLIC_CONSTANT = PUBLIC + CONSTANT; 59 60 61 public static final int PROTECTED_CONSTANT = PROTECTED + CONSTANT; 62 63 64 public static final int PACKAGE_CONSTANT = CONSTANT; 65 66 67 public static final int PRIVATE_CONSTANT = PRIVATE + CONSTANT; 68 69 70 public static final int PUBLIC_STATIC = PUBLIC + STATIC; 71 72 73 public static final int PROTECTED_STATIC = PROTECTED + STATIC; 74 75 76 public static final int PACKAGE_STATIC = STATIC; 77 78 79 public static final int PRIVATE_STATIC = PRIVATE + STATIC; 80 81 82 public static final int PUBLIC_ABSTRACT = PUBLIC + ABSTRACT; 83 84 85 public static final int PROTECTED_ABSTRACT = PROTECTED + ABSTRACT; 86 87 88 public static final int PACKAGE_ABSTRACT = ABSTRACT; 89 90 95 int getModifiers(); 96 97 102 boolean isPublic(); 103 104 109 boolean isStatic(); 110 } 111 | Popular Tags |