Home
last modified time | relevance | path

Searched refs:TurbineFlag (Results 1 – 19 of 19) 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.java42 import com.google.turbine.model.TurbineFlag;
282 access |= (base.access() & TurbineFlag.ACC_STRICT); in syntheticConstructor()
289 access | TurbineFlag.ACC_SYNTH_CTOR, in syntheticConstructor()
297 int access = TurbineFlag.ACC_FINAL; in enclosingInstanceParameter()
298 if ((base.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in enclosingInstanceParameter()
299 access |= TurbineFlag.ACC_SYNTHETIC; in enclosingInstanceParameter()
301 access |= TurbineFlag.ACC_MANDATED; in enclosingInstanceParameter()
306 if (((info.access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) in enclosingInstanceParameter()
327 TurbineFlag.ACC_SYNTHETIC),
333 TurbineFlag.ACC_SYNTHETIC));
[all …]
DModuleBinder.java43 import com.google.turbine.model.TurbineFlag;
103 int flags = module.module().open() ? TurbineFlag.ACC_OPEN : 0; in bind()
146 TurbineFlag.ACC_MANDATED, in bind()
174 flags |= TurbineFlag.ACC_STATIC_PHASE; in bindRequires()
DConstBinder.java41 import com.google.turbine.model.TurbineFlag;
252 if ((base.access() & TurbineFlag.ACC_FINAL) == 0) { in fieldValue()
DConstEvaluator.java47 import com.google.turbine.model.TurbineFlag;
233 if ((field.access() & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM) { in evalConstVar()
267 if ((field.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in resolveField()
DBinder.java58 import com.google.turbine.model.TurbineFlag;
351 if ((field.access() & TurbineFlag.ACC_FINAL) == 0) { in isConst()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassReaderTest.java32 import com.google.turbine.model.TurbineFlag;
73 .isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_SUPER); in methods()
82 assertThat(f.access()).isEqualTo(TurbineFlag.ACC_PUBLIC); in methods()
92 assertThat(g.access()).isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_STATIC); in methods()
124 TurbineFlag.ACC_PUBLIC in annotationDeclaration()
125 | TurbineFlag.ACC_ANNOTATION in annotationDeclaration()
126 | TurbineFlag.ACC_ABSTRACT in annotationDeclaration()
127 | TurbineFlag.ACC_INTERFACE); in annotationDeclaration()
171 assertThat(x.access()).isEqualTo(TurbineFlag.ACC_PUBLIC); in fields()
180 .isEqualTo(TurbineFlag.ACC_PUBLIC | TurbineFlag.ACC_STATIC | TurbineFlag.ACC_FINAL); in fields()
[all …]
/external/turbine/javatests/com/google/turbine/lower/
DLowerTest.java41 import com.google.turbine.model.TurbineFlag;
108 int access = TurbineFlag.ACC_SUPER | TurbineFlag.ACC_PUBLIC; in hello()
117 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PUBLIC, in hello()
158 TurbineFlag.ACC_PUBLIC, in hello()
168 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_PUBLIC, in hello()
203 TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PROTECTED, in hello()
295 assertThat(reader.u2()).isEqualTo(TurbineFlag.ACC_SUPER); // access in wildArrayElement()
638 assertThat((testAccess[0] & TurbineFlag.ACC_PUBLIC)).isEqualTo(TurbineFlag.ACC_PUBLIC); in multipleVisibilities()
639 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;
149 if ((info.access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in isRaw()
159 if ((getInfo(first).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in lexicalBase()
170 if ((getInfo(owner).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in lexicalBase()
203 if ((getInfo(ty.sym()).access() & TurbineFlag.ACC_STATIC) == TurbineFlag.ACC_STATIC) { in canonOne()
/external/turbine/java/com/google/turbine/lower/
DLower.java67 import com.google.turbine.model.TurbineFlag;
179 /* access= */ TurbineFlag.ACC_MODULE, in lower()
258 if ((f.access() & TurbineFlag.ACC_PRIVATE) == TurbineFlag.ACC_PRIVATE) { in lower()
335 TurbineFlag.ACC_MANDATED | TurbineFlag.ACC_FINAL | TurbineFlag.ACC_SYNTHETIC;
441 access &= ~(TurbineFlag.ACC_SUPER | TurbineFlag.ACC_STRICT); in innerClass()
450 access &= ~(TurbineFlag.ACC_STATIC | TurbineFlag.ACC_PRIVATE | TurbineFlag.ACC_STRICT); in classAccess()
451 if ((access & TurbineFlag.ACC_PROTECTED) != 0) { in classAccess()
452 access &= ~TurbineFlag.ACC_PROTECTED; in classAccess()
453 access |= TurbineFlag.ACC_PUBLIC; in classAccess()
DLowerSignature.java35 import com.google.turbine.model.TurbineFlag;
175 if ((env.get(sym).access() & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM in needsMethodSig()
180 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;
223 TurbineFlag.ACC_PUBLIC in annotationDeclaration()
224 | TurbineFlag.ACC_INTERFACE in annotationDeclaration()
225 | TurbineFlag.ACC_ABSTRACT in annotationDeclaration()
226 | TurbineFlag.ACC_ANNOTATION); in annotationDeclaration()
DClassPathBinderTest.java40 import com.google.turbine.model.TurbineFlag;
88 assertThat((c.access() & TurbineFlag.ACC_PUBLIC)).isEqualTo(TurbineFlag.ACC_PUBLIC); in classPathClasses()
/external/turbine/java/com/google/turbine/binder/bytecode/
DBytecodeBoundClass.java52 import com.google.turbine.model.TurbineFlag;
108 if ((access & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION) {
111 if ((access & TurbineFlag.ACC_INTERFACE) == TurbineFlag.ACC_INTERFACE) {
114 if ((access & TurbineFlag.ACC_ENUM) == TurbineFlag.ACC_ENUM) {
465 if ((access() & TurbineFlag.ACC_ANNOTATION) != TurbineFlag.ACC_ANNOTATION) {
/external/turbine/java/com/google/turbine/deps/
DTransitive.java34 import com.google.turbine.model.TurbineFlag;
91 (cf.access() & TurbineFlag.ACC_ANNOTATION) == TurbineFlag.ACC_ANNOTATION in trimClass()
/external/turbine/java/com/google/turbine/binder/bound/
DTypeBoundClass.java25 import com.google.turbine.model.TurbineFlag;
256 return (access & (TurbineFlag.ACC_SYNTHETIC | TurbineFlag.ACC_MANDATED)) != 0; in synthetic()