congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
InterfaceInfoMap
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using br.com.objectos.way.code.InterfaceInfoMap (Showing top 19 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

public static InterfaceInfoMap mapOf(List<InterfaceInfo> list) {
 return new InterfaceInfoMap(list);
}
origin: br.com.objectos/way-code

private TypeInfoMap(List<TypeInfo> list) {
 this.list = list;
 interfaceInfoMap = InterfaceInfoMap.fromTypeInfoList(list);
}
origin: br.com.objectos/way-code

InterfaceInfoMap getInterfaceInfoMap() {
 SuperTypeInfo superTypeInfo = superTypeInfo().or(SuperTypeInfoVoid.get());
 InterfaceInfoMap thisMap = interfaceInfoMap();
 return thisMap.add(superTypeInfo.getInterfaceInfoMap());
}
origin: br.com.objectos/way-code

public WayIterable<MethodInfo> getMethodInfoIterable() {
 List<MethodInfo> methodList = methodInfoMap().list();
 InterfaceInfoMap interfaceInfoMap = interfaceInfoMap();
 return WayIterables.from(interfaceInfoMap.list())
   .transformAndConcat(InterfaceInfoGetMethodInfoList.get())
   .addAll(superTypeInfoMethodList())
   .filter(MethodInfoHasSameSignature.not(methodList))
   .addAll(methodList);
}
origin: br.com.objectos/way-code

public Optional<InterfaceInfo> getInterface(Class<?> type) {
 Optional<InterfaceInfo> res = Optional.absent();
 if (type.isInterface()) {
  InterfaceInfoMap interfaceInfoMap = getInterfaceInfoMap();
  res = interfaceInfoMap.get(type);
 }
 return res;
}
origin: br.com.objectos/way-code

InterfaceInfoMap getInterfaceInfoMap() {
 SuperTypeInfo superTypeInfo = superTypeInfo().or(SuperTypeInfoVoid.get());
 InterfaceInfoMap thisMap = interfaceInfoMap();
 return thisMap.add(superTypeInfo.getInterfaceInfoMap());
}
origin: br.com.objectos/way-code

public WayIterable<MethodInfo> getMethodInfoIterable() {
 List<MethodInfo> methodList = methodInfoMap().list();
 InterfaceInfoMap interfaceInfoMap = interfaceInfoMap();
 return WayIterables.from(interfaceInfoMap.list())
   .transformAndConcat(InterfaceInfoGetMethodInfoList.get())
   .addAll(superTypeInfoMethodList())
   .filter(MethodInfoHasSameSignature.not(methodList))
   .addAll(methodList);
}
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.codeInterfaceInfoMap

Most used methods

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

Popular in Java

  • Finding current android device location
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Path (java.nio.file)
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • 21 Best Atom Packages for 2021
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