Home
last modified time | relevance | path

Searched refs:TurbineFlag (Results 1 – 22 of 22) sorted by relevance

/external/turbine/java/com/google/turbine/tree/
DTurbineModifier.java21 import com.google.turbine.model.TurbineFlag;
29 PRIVATE(TurbineFlag.ACC_PRIVATE),
30 PROTECTED(TurbineFlag.ACC_PROTECTED),
31 PUBLIC(TurbineFlag.ACC_PUBLIC),
32 ACC_SUPER(TurbineFlag.ACC_SUPER),
33 ABSTRACT(TurbineFlag.ACC_ABSTRACT),
34 STATIC(TurbineFlag.ACC_STATIC),
35 FINAL(TurbineFlag.ACC_FINAL),
36 VOLATILE(TurbineFlag.ACC_VOLATILE),
37 SYNCHRONIZED(TurbineFlag.ACC_SYNCHRONIZED),
[all …]
/external/turbine/java/com/google/turbine/model/
DTurbineVisibility.java21 PUBLIC(3, TurbineFlag.ACC_PUBLIC),
22 PROTECTED(2, TurbineFlag.ACC_PROTECTED),
24 PRIVATE(0, TurbineFlag.ACC_PRIVATE);
43 TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_PRIVATE | TurbineFlag.ACC_PROTECTED;
56 if ((access & TurbineFlag.ACC_PUBLIC) == TurbineFlag.ACC_PUBLIC) { in fromAccess()
59 if ((access & TurbineFlag.ACC_PROTECTED) == TurbineFlag.ACC_PROTECTED) { in fromAccess()
62 if ((access & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in fromAccess()
69 access &= ~(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_PRIVATE | TurbineFlag.ACC_PROTECTED); in setAccess()
DTurbineFlag.java25 public class TurbineFlag { class
/external/turbine/java/com/google/turbine/binder/
DCompUnitPreprocessor.java29 import com.google.turbine.model.TurbineFlag;
163 access |= TurbineFlag.ACC_SUPER; in access()
166 access |= TurbineFlag.ACC_ABSTRACT | TurbineFlag.ACC_INTERFACE; in access()
173 access |= TurbineFlag.ACC_SUPER | TurbineFlag.ACC_ENUM | TurbineFlag.ACC_FINAL; in access()
176 access |= TurbineFlag.ACC_ABSTRACT | TurbineFlag.ACC_INTERFACE | TurbineFlag.ACC_ANNOTATION; in access()
187 if ((enclosing & (TurbineFlag.ACC_INTERFACE | TurbineFlag.ACC_ANNOTATION)) != 0) { in innerClassAccess()
188 access &= ~(TurbineFlag.ACC_PRIVATE | TurbineFlag.ACC_PROTECTED); in innerClassAccess()
189 access |= TurbineFlag.ACC_PUBLIC; in innerClassAccess()
198 access |= TurbineFlag.ACC_STATIC; in innerClassAccess()
201 if ((enclosing & (TurbineFlag.ACC_INTERFACE | TurbineFlag.ACC_ANNOTATION)) != 0) { in innerClassAccess()
[all …]
DTypeBinder.java43 import com.google.turbine.model.TurbineFlag;
284 access |= (base.access() & TurbineFlag.ACC_STRICT); in syntheticConstructor()
291 access | TurbineFlag.ACC_SYNTH_CTOR, in syntheticConstructor()
299 int access = TurbineFlag.ACC_FINAL; in enclosingInstanceParameter()
300 if ((base.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in enclosingInstanceParameter()
301 access |= TurbineFlag.ACC_SYNTHETIC; in enclosingInstanceParameter()
303 access |= TurbineFlag.ACC_MANDATED; in enclosingInstanceParameter()
308 if (((info.access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) in enclosingInstanceParameter()
329 TurbineFlag.ACC_SYNTHETIC), in enumCtorParams()
335 TurbineFlag.ACC_SYNTHETIC)); in enumCtorParams()
[all …]
DModuleBinder.java44 import com.google.turbine.model.TurbineFlag;
109 int flags = module.module().open() ? TurbineFlag.ACC_OPEN : 0; in bind()
150 TurbineFlag.ACC_MANDATED, in bind()
178 flags |= TurbineFlag.ACC_STATIC_PHASE; in bindRequires()
DConstBinder.java42 import com.google.turbine.model.TurbineFlag;
268 if ((base.access() & TurbineFlag.ACC_FINAL) == 0) { in fieldValue()
DConstEvaluator.java49 import com.google.turbine.model.TurbineFlag;
239 if ((field.access() & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM) { in evalConstVar()
273 if ((field.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in resolveField()
DBinder.java61 import com.google.turbine.model.TurbineFlag;
406 if ((field.access() & TurbineFlag.ACC_FINAL) == 0) { in isConst()
/external/turbine/java/com/google/turbine/processing/
DTurbineElement.java48 import com.google.turbine.model.TurbineFlag;
338 while (info.owner() != null && (info.access() & TurbineFlag.ACC_STATIC) == 0) {
378 return asModifierSet(ModifierOwner.TYPE, infoNonNull().access() & ~TurbineFlag.ACC_SUPER); in getModifiers()
761 return (info().access() & TurbineFlag.ACC_VARARGS) == TurbineFlag.ACC_VARARGS; in isVarArgs()
766 return (info().access() & TurbineFlag.ACC_DEFAULT) == TurbineFlag.ACC_DEFAULT; in isDefault()
795 if ((access & (TurbineFlag.ACC_ABSTRACT | TurbineFlag.ACC_STATIC)) == 0) { in getModifiers()
796 access |= TurbineFlag.ACC_DEFAULT; in getModifiers()
893 return ((info().access() & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM) in getKind()
938 if ((access & TurbineFlag.ACC_PUBLIC) == TurbineFlag.ACC_PUBLIC) { in asModifierSet()
941 if ((access & TurbineFlag.ACC_PROTECTED) == TurbineFlag.ACC_PROTECTED) { in asModifierSet()
[all …]
DTurbineTypeMirror.java31 import com.google.turbine.model.TurbineFlag;
211 && ((info.access() & TurbineFlag.ACC_STATIC) == 0)
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java32 import com.google.turbine.model.TurbineFlag;
74 .isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_SUPER); in methods()
83 assertThat(f.access()).isEqualTo(TurbineFlag.ACC_PUBLIC); in methods()
93 assertThat(g.access()).isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_STATIC); in methods()
125 TurbineFlag.ACC_PUBLIC in annotationDeclaration()
126 | TurbineFlag.ACC_ANNOTATION in annotationDeclaration()
127 | TurbineFlag.ACC_ABSTRACT in annotationDeclaration()
128 | TurbineFlag.ACC_INTERFACE); in annotationDeclaration()
173 assertThat(x.access()).isEqualTo(TurbineFlag.ACC_PUBLIC); in fields()
184 .isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_STATIC | TurbineFlag.ACC_FINAL); in fields()
[all …]
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java42 import com.google.turbine.model.TurbineFlag;
110 int access = TurbineFlag.ACC_SUPER | TurbineFlag.ACC_PUBLIC; in hello()
119 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PUBLIC, in hello()
164 TurbineFlag.ACC_PUBLIC, in hello()
174 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_PUBLIC, in hello()
209 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PROTECTED, in hello()
301 assertThat(reader.u2()).isEqualTo(TurbineFlag.ACC_SUPER); // access in wildArrayElement()
645 assertThat((testAccess[0] & TurbineFlag.ACC_PUBLIC)).isEqualTo(TurbineFlag.ACC_PUBLIC); in multipleVisibilities()
646 assertThat((testAccess[0] & TurbineFlag.ACC_PROTECTED)).isNotEqualTo(TurbineFlag.ACC_PROTECTED); in multipleVisibilities()
/external/turbine/java/com/google/turbine/types/
DCanonicalize.java28 import com.google.turbine.model.TurbineFlag;
153 if ((info.access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in isRaw()
163 if ((getInfo(first).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in lexicalBase()
174 if ((getInfo(owner).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in lexicalBase()
207 if ((getInfo(ty.sym()).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in canonOne()
/external/turbine/java/com/google/turbine/lower/
DLower.java66 import com.google.turbine.model.TurbineFlag;
178 /* access= */ TurbineFlag.ACC_MODULE, in lower()
257 if ((f.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in lower()
334 TurbineFlag.ACC_MANDATED | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_SYNTHETIC;
440 access &= ~(TurbineFlag.ACC_SUPER | TurbineFlag.ACC_STRICT); in innerClass()
449 access &= ~(TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PRIVATE | TurbineFlag.ACC_STRICT); in classAccess()
450 if ((access & TurbineFlag.ACC_PROTECTED) != 0) { in classAccess()
451 access &= ~TurbineFlag.ACC_PROTECTED; in classAccess()
452 access |= TurbineFlag.ACC_PUBLIC; in classAccess()
DLowerSignature.java35 import com.google.turbine.model.TurbineFlag;
165 if ((env.get(sym).access() & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM in needsMethodSig()
170 if ((m.access() & TurbineFlag.ACC_SYNTH_CTOR) == TurbineFlag.ACC_SYNTH_CTOR) { in needsMethodSig()
/external/turbine/javatests/com/google/turbine/binder/
DBinderTest.java33 import com.google.turbine.model.TurbineFlag;
217 TurbineFlag.ACC_PUBLIC in annotationDeclaration()
218 | TurbineFlag.ACC_INTERFACE in annotationDeclaration()
219 | TurbineFlag.ACC_ABSTRACT in annotationDeclaration()
220 | TurbineFlag.ACC_ANNOTATION); in annotationDeclaration()
DClassPathBinderTest.java40 import com.google.turbine.model.TurbineFlag;
91 assertThat((c.access() & TurbineFlag.ACC_PUBLIC)).isEqualTo(TurbineFlag.ACC_PUBLIC); in classPathClasses()
/external/turbine/java/com/google/turbine/deps/
DTransitive.java33 import com.google.turbine.model.TurbineFlag;
90 (cf.access() & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION in trimClass()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java53 import com.google.turbine.model.TurbineFlag;
109 if ((access & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION) {
112 if ((access & TurbineFlag.ACC_INTERFACE) == TurbineFlag.ACC_INTERFACE) {
115 if ((access & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM) {
486 if ((access() & TurbineFlag.ACC_ANNOTATION) != TurbineFlag.ACC_ANNOTATION) {
/external/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java27 import com.google.turbine.model.TurbineFlag;
296 return (access & (TurbineFlag.ACC_SYNTHETIC | TurbineFlag.ACC_MANDATED)) != 0; in synthetic()
/external/turbine/java/com/google/turbine/bytecode/
DClassReader.java37 import com.google.turbine.model.TurbineFlag;
218 if ((access & (TurbineFlag.ACC_SYNTHETIC | TurbineFlag.ACC_MANDATED)) != 0) { in readMethodParameters()
436 if ((accessFlags & (TurbineFlag.ACC_BRIDGE | TurbineFlag.ACC_SYNTHETIC)) != 0) { in readMethods()