congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Finding current android device location
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • JList (javax.swing)
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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