本文整理汇总了Java中com.workday.meta.MetaTypes类的典型用法代码示例。如果您正苦于以下问题:Java MetaTypes类的具体用法?Java MetaTypes怎么用?Java MetaTypes使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MetaTypes类属于com.workday.meta包,在下文中一共展示了MetaTypes类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: XmlElementParserGenerator
import com.workday.meta.MetaTypes; //导入依赖的package包/类
XmlElementParserGenerator(ProcessingEnvironment processingEnv, TypeElement classElement) {
this.processingEnv = processingEnv;
this.classElement = classElement;
MetaTypes metaTypes = new MetaTypes(processingEnv);
AttributesAndElements attributesAndElements =
new AttributesAndElements(processingEnv, classElement);
parseAttributesMethodWriter =
new ParseAttributesMethodWriter(attributesAndElements, processingEnv, metaTypes);
parseChildrenMethodWriter =
new ParseChildrenMethodWriter(attributesAndElements,
processingEnv,
metaTypes,
classElement);
}
示例2: ParseChildrenMethodWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public ParseChildrenMethodWriter(AttributesAndElements attributesAndElements,
ProcessingEnvironment processingEnv,
MetaTypes metaTypes,
TypeElement classElement) {
this.attributesAndElements = attributesAndElements;
this.processingEnv = processingEnv;
this.metaTypes = metaTypes;
this.classElement = classElement;
initializers = new Initializers(metaTypes);
}
示例3: ParseAttributesMethodWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public ParseAttributesMethodWriter(AttributesAndElements attributesAndElements,
ProcessingEnvironment processingEnv,
MetaTypes metaTypes) {
this.attributesAndElements = attributesAndElements;
this.processingEnv = processingEnv;
this.metaTypes = metaTypes;
}
示例4: JsonObjectParserGenerator
import com.workday.meta.MetaTypes; //导入依赖的package包/类
/**
* @param classElement The class element for which we are generating the parser.
* @param classNameToParserNameMap All known classes that can be parsed, along with their parsers for use when
* attempting to find the right parser for a field or setter that takes a concrete type.
*/
public JsonObjectParserGenerator(ProcessingEnvironment processingEnv,
TypeElement classElement,
Map<String, String> classNameToParserNameMap) {
this.processingEnv = processingEnv;
metaTypes = new MetaTypes(processingEnv);
initializers = new Initializers(metaTypes);
this.classElement = classElement;
this.classNameToParserNameMap = classNameToParserNameMap;
}
示例5: ValueAssignerFactory
import com.workday.meta.MetaTypes; //导入依赖的package包/类
ValueAssignerFactory(ProcessingEnvironment processingEnv,
Map<String, String> classNameToParserNameMap,
JavaWriter writer,
PostCreateChildBlockWriter postCreateChildBlockWriter) {
this.processingEnv = processingEnv;
this.writer = writer;
this.postCreateChildBlockWriter = postCreateChildBlockWriter;
typeUtils = processingEnv.getTypeUtils();
this.classNameToParserNameMap = classNameToParserNameMap;
metaTypes = new MetaTypes(processingEnv);
initializers = new Initializers(metaTypes);
}
示例6: InstanceUpdaterTableGenerator
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public InstanceUpdaterTableGenerator(ProcessingEnvironment processingEnv,
Map<String, String> classNameToParserNameMap,
PackageElement packageElement) {
this.processingEnv = processingEnv;
this.classNameToParserNameMap = classNameToParserNameMap;
this.packageElement = packageElement;
this.metaTypes = new MetaTypes(processingEnv);
}
示例7: ObjectValueAssigner
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public ObjectValueAssigner(ProcessingEnvironment processingEnv, Info info) {
this.metaTypes = new MetaTypes(processingEnv);
this.objectType = info.objectType;
this.objectTypeString = objectType.toString();
this.objectTypeErasure = processingEnv.getTypeUtils().erasure(objectType).toString();
this.assignmentPattern = info.assignmentPattern;
this.parserInstance = info.parserInstance;
this.convertJsonTypes = info.convertJsonTypes;
this.postCreateChildBlockWriter = info.postCreateChildBlockWriter;
}
示例8: ParcelerGenerator
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public ParcelerGenerator(ProcessingEnvironment processingEnv, TypeElement elementToParcel) {
this.processingEnv = processingEnv;
metaTypes = new MetaTypes(processingEnv);
this.elementToParcel = elementToParcel;
elementQualifiedName = elementToParcel.getQualifiedName().toString();
parcelerName = MetaTypeNames.constructTypeName(elementToParcel, Names.PARCELER_SUFFIX);
ParceledElementExtractor parceledElementExtractor =
new ParceledElementExtractor(processingEnv);
this.parceledFields = parceledElementExtractor.extractParceledFields(elementToParcel);
this.postCreateChildMethods =
parceledElementExtractor.extractPostCreateChildMethods(elementToParcel);
saveStatementWriters = createSaveStatementWriterList();
}
示例9: AttributesAndElements
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public AttributesAndElements(ProcessingEnvironment processingEnv, TypeElement classElement) {
this.processingEnv = processingEnv;
metaTypes = new MetaTypes(processingEnv);
this.classElement = classElement;
findAttributesAndElements();
}
示例10: BoxableSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public BoxableSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}
示例11: SerializableSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
public SerializableSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}
示例12: EnumSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
EnumSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}
示例13: CharSequenceSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
CharSequenceSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}
示例14: ParcelableSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
ParcelableSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}
示例15: StringSaveStatementWriter
import com.workday.meta.MetaTypes; //导入依赖的package包/类
StringSaveStatementWriter(MetaTypes metaTypes) {
this.metaTypes = metaTypes;
}