()
| 87 | } |
| 88 | |
| 89 | @Override |
| 90 | public int getAccess() { |
| 91 | if (asmNode == null) { |
| 92 | int ret = Opcodes.ACC_PUBLIC; |
| 93 | if (isStatic) ret |= Opcodes.ACC_STATIC; |
| 94 | if (isStatic && type == cls && cls.isEnum()) ret |= Opcodes.ACC_ENUM; |
| 95 | if (isStatic && cls.isInterface()) ret |= Opcodes.ACC_FINAL; |
| 96 | |
| 97 | return ret; |
| 98 | } else { |
| 99 | return asmNode.access; |
| 100 | } |
| 101 | } |
| 102 | |
| 103 | public FieldSignature getSignature() { |
| 104 | return signature; |
nothing calls this directly
no test coverage detected