public static interface ClassHierarchyProto.ClassNodeOrBuilder extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
String |
getDefaultImplementation()
optional string default_implementation = 7; |
com.google.protobuf.ByteString |
getDefaultImplementationBytes()
optional string default_implementation = 7; |
String |
getImplFullNames(int index)
repeated string impl_full_names = 6; |
com.google.protobuf.ByteString |
getImplFullNamesBytes(int index)
repeated string impl_full_names = 6; |
int |
getImplFullNamesCount()
repeated string impl_full_names = 6; |
List<String> |
getImplFullNamesList()
repeated string impl_full_names = 6; |
ClassHierarchyProto.ConstructorDef |
getInjectableConstructors(int index)
repeated .ConstructorDef InjectableConstructors = 4; |
int |
getInjectableConstructorsCount()
repeated .ConstructorDef InjectableConstructors = 4; |
List<ClassHierarchyProto.ConstructorDef> |
getInjectableConstructorsList()
repeated .ConstructorDef InjectableConstructors = 4; |
ClassHierarchyProto.ConstructorDefOrBuilder |
getInjectableConstructorsOrBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4; |
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> |
getInjectableConstructorsOrBuilderList()
repeated .ConstructorDef InjectableConstructors = 4; |
boolean |
getIsExternalConstructor()
required bool is_external_constructor = 2; |
boolean |
getIsInjectionCandidate()
required bool is_injection_candidate = 1; |
boolean |
getIsUnit()
required bool is_unit = 3; |
ClassHierarchyProto.ConstructorDef |
getOtherConstructors(int index)
repeated .ConstructorDef OtherConstructors = 5; |
int |
getOtherConstructorsCount()
repeated .ConstructorDef OtherConstructors = 5; |
List<ClassHierarchyProto.ConstructorDef> |
getOtherConstructorsList()
repeated .ConstructorDef OtherConstructors = 5; |
ClassHierarchyProto.ConstructorDefOrBuilder |
getOtherConstructorsOrBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5; |
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> |
getOtherConstructorsOrBuilderList()
repeated .ConstructorDef OtherConstructors = 5; |
boolean |
hasDefaultImplementation()
optional string default_implementation = 7; |
boolean |
hasIsExternalConstructor()
required bool is_external_constructor = 2; |
boolean |
hasIsInjectionCandidate()
required bool is_injection_candidate = 1; |
boolean |
hasIsUnit()
required bool is_unit = 3; |
boolean hasIsInjectionCandidate()
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
boolean getIsInjectionCandidate()
required bool is_injection_candidate = 1;
Some classes cannot be injected for language-specific reasons. For example, Java's non-static inner classes need a reference to the outer class in order to be instantiated. Set this boolean to false if there is some reason why Tang cannot possibly inject this class.
boolean hasIsExternalConstructor()
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
boolean getIsExternalConstructor()
required bool is_external_constructor = 2;
This field will be set to true if this class is a Tang ExternalConstructor implementation. If this is set to true, then some other class *must* contain this ClassNode's name in its impl_full_names field.
boolean hasIsUnit()
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
boolean getIsUnit()
required bool is_unit = 3;
This field will be set to true if this class is annotated as a Tang Unit.
List<ClassHierarchyProto.ConstructorDef> getInjectableConstructorsList()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
ClassHierarchyProto.ConstructorDef getInjectableConstructors(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
int getInjectableConstructorsCount()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> getInjectableConstructorsOrBuilderList()
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
ClassHierarchyProto.ConstructorDefOrBuilder getInjectableConstructorsOrBuilder(int index)
repeated .ConstructorDef InjectableConstructors = 4;
A list of all the constructors that are defined by this class and annotated to be injectable.
List<ClassHierarchyProto.ConstructorDef> getOtherConstructorsList()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
ClassHierarchyProto.ConstructorDef getOtherConstructors(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
int getOtherConstructorsCount()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
List<? extends ClassHierarchyProto.ConstructorDefOrBuilder> getOtherConstructorsOrBuilderList()
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
ClassHierarchyProto.ConstructorDefOrBuilder getOtherConstructorsOrBuilder(int index)
repeated .ConstructorDef OtherConstructors = 5;
A list of all the other constructors (so that they can be registered as legacy constructors if the configuration tells us to treat them as though they were annotated with an Inject).
List<String> getImplFullNamesList()
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
int getImplFullNamesCount()
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
String getImplFullNames(int index)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
com.google.protobuf.ByteString getImplFullNamesBytes(int index)
repeated string impl_full_names = 6;
A list of all the ClassNodes that implement this class, including legacy constructors.
boolean hasDefaultImplementation()
optional string default_implementation = 7;
String getDefaultImplementation()
optional string default_implementation = 7;
com.google.protobuf.ByteString getDefaultImplementationBytes()
optional string default_implementation = 7;
Copyright © 2017 The Apache Software Foundation. All rights reserved.