Tabnine Logo
InterfaceInfoMap.mapOf
Code IndexAdd Tabnine to your IDE (free)

How to use
mapOf
method
in
br.com.objectos.way.code.InterfaceInfoMap

Best Java code snippets using br.com.objectos.way.code.InterfaceInfoMap.mapOf (Showing top 12 results out of 315)

origin: br.com.objectos/way-code-apt

 @Override
 public InterfaceInfoMap apply(List<InterfaceInfo> input) {
  return InterfaceInfoMap.mapOf(input);
 }
});
origin: br.com.objectos/way-code

@Override
InterfaceInfoMap getInterfaceInfoMap() {
 return InterfaceInfoMap.mapOf();
}
origin: br.com.objectos/way-code

@Override
public InterfaceInfoMap getInterfaceInfoMap() {
 return InterfaceInfoMap.mapOf();
}
origin: br.com.objectos/way-code

public InterfaceInfoMap add(InterfaceInfoMap otherMap) {
 List<InterfaceInfo> add = ImmutableList.<InterfaceInfo> builder()
   .addAll(list)
   .addAll(otherMap.list)
   .build();
 return InterfaceInfoMap.mapOf(add);
}
origin: br.com.objectos.way/code-apt

public static InterfaceInfoMap interfaceInfoMapOf(ProcessingEnvironmentWrapper processingEnv, TypeElement element) {
 List<InterfaceInfo> list = element.getInterfaces().stream()
   .map(type -> TypeInfoTypeMirror.wrap(processingEnv, type))
   .map(TypeInfo::toInterfaceInfo)
   .filter(Optional::isPresent)
   .map(Optional::get)
   .collect(Collectors.toList());
 return InterfaceInfoMap.mapOf(list);
}
origin: br.com.objectos/way-code

public static InterfaceInfoMap fromTypeInfoList(List<TypeInfo> list) {
 List<Optional<InterfaceInfo>> optionalList = transform(list, TypeInfoToInterfaceInfo.get());
 Iterable<InterfaceInfo> presentList = Optional.presentInstances(optionalList);
 List<InterfaceInfo> interfaceInfoList = ImmutableList.copyOf(presentList);
 return mapOf(interfaceInfoList);
}
origin: br.com.objectos.way/code-apt

public static InterfaceInfoMap interfaceInfoMapOf(ProcessingEnvironmentWrapper processingEnv, TypeMirror type) {
 InterfaceInfoMap map = InterfaceInfoMap.mapOf();
 Element element = processingEnv.asElement(type);
 if (isType(element)) {
  TypeElement typeElement = TypeElement.class.cast(element);
  map = interfaceInfoMapOf(processingEnv, typeElement);
 }
 return map;
}
origin: br.com.objectos/way-code-apt

public static InterfaceInfoMap interfaceInfoMapOf(ProcessingEnvironmentWrapper processingEnv, TypeMirror type) {
 InterfaceInfoMap map = InterfaceInfoMap.mapOf();
 Element element = processingEnv.asElement(type);
 if (isType(element)) {
  TypeElement typeElement = TypeElement.class.cast(element);
  map = interfaceInfoMapOf(processingEnv, typeElement);
 }
 return map;
}
origin: br.com.objectos/way-code-testing

@Override
public SuperTypeInfo build() {
 return SuperTypeInfo.builder()
   .superTypeInfo(Optional.fromNullable(superTypeInfo))
   .interfaceInfoMap(InterfaceInfoMap.mapOf(interfaceInfoList))
   .methodInfoMap(MethodInfoMap.mapOf(methodInfoList))
   .build();
}
origin: br.com.objectos.way/code-testing

public SuperTypeInfo build() {
 return TestingSuperTypeInfo.builder()
   .annotationInfoList(annotationInfoList)
   .superTypeInfo(Optional.ofNullable(superTypeInfo))
   .interfaceInfoMap(InterfaceInfoMap.mapOf(interfaceInfoList))
   .methodInfoList(methodInfoList)
   .build();
}
origin: br.com.objectos/way-code-testing

@Override
public TypeInfo build() {
 return TypeInfo.newPojo()
   .kind(kind)
   .packageInfo(packageInfo)
   .accessInfo(accessInfo)
   .name(name)
   .typeParameterInfoMap(TypeParameterInfoMap.mapOf(typeParameterInfoList))
   .annotationInfoMap(AnnotationInfoMap.mapOf(annotationInfoList))
   .enclosingTypeInfo(Optional.fromNullable(enclosingTypeInfo))
   .superTypeInfo(Optional.fromNullable(superTypeInfo))
   .interfaceInfoMap(InterfaceInfoMap.mapOf(interfaceInfoList))
   .constructorInfoMap(ConstructorInfoMap.mapOf(constructorInfoList))
   .methodInfoMap(MethodInfoMap.mapOf(methodInfoList))
   .declaredTypeInfoMap(TypeInfoMap.mapOf(declaredTypeInfoList))
   .build();
}
origin: br.com.objectos.way/code-testing

public TypeInfo build() {
 return TestingTypeInfo.builder()
   .kind(kind)
   .packageInfo(packageInfo)
   .accessInfo(accessInfo)
   .name(name)
   .typeParameterInfoMap(TypeParameterInfoMap.mapOf(typeParameterInfoList))
   .annotationInfoList(annotationInfoList)
   .enclosingSimpleTypeInfoOfNullable(enclosingSimpleTypeInfo)
   .superTypeInfoOfNullable(superTypeInfo)
   .interfaceInfoMap(InterfaceInfoMap.mapOf(interfaceInfoList))
   .fieldInfoList(fieldInfoList)
   .constructorInfoList(constructorInfoList)
   .methodInfoList(methodInfoList)
   .declaredTypeInfoList(declaredTypeInfoList)
   .build();
}
br.com.objectos.way.codeInterfaceInfoMapmapOf

Popular methods of InterfaceInfoMap

  • <init>
  • add
  • fromTypeInfoList
  • get
  • list

Popular in Java

  • Updating database using SQL prepared statement
  • getContentResolver (Context)
  • onCreateOptionsMenu (Activity)
  • getExternalFilesDir (Context)
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • String (java.lang)
  • JFrame (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now