Tabnine Logo
EnvUtil.fillInInterfacesAndSuperTypes
Code IndexAdd Tabnine to your IDE (free)

How to use
fillInInterfacesAndSuperTypes
method
in
org.jboss.errai.config.rebind.EnvUtil

Best Java code snippets using org.jboss.errai.config.rebind.EnvUtil.fillInInterfacesAndSuperTypes (Showing top 4 results out of 315)

origin: errai/errai

private static void fillInInterfacesAndSuperTypes(final Set<MetaClass> set, final MetaClass type) {
 for (final MetaClass iface : type.getInterfaces()) {
  set.add(iface);
  fillInInterfacesAndSuperTypes(set, iface);
 }
 if (type.getSuperClass() != null) {
  fillInInterfacesAndSuperTypes(set, type.getSuperClass());
 }
}
origin: org.jboss.errai/errai-config

private static void fillInInterfacesAndSuperTypes(final Set<MetaClass> set, final MetaClass type) {
 for (final MetaClass iface : type.getInterfaces()) {
  set.add(iface);
  fillInInterfacesAndSuperTypes(set, iface);
 }
 if (type.getSuperClass() != null) {
  fillInInterfacesAndSuperTypes(set, type.getSuperClass());
 }
}
origin: errai/errai

private static EnvironmentConfig newEnvironmentConfig() {
 final Map<String, String> frameworkProps = new HashMap<>();
 final Map<String, String> mappingAliases = new HashMap<>();
 final Set<MetaClass> exposedClasses = new HashSet<>();
 final Set<MetaClass> nonportableClasses = new HashSet<>();
 final Set<String> explicitTypes = new HashSet<>();
 final Set<MetaClass> portableNonExposed = new HashSet<>();
 nonportableClasses.addAll(ClassScanner.getTypesAnnotatedWith(NonPortable.class));
 final Set<MetaClass> exposedFromScanner = new HashSet<>(ClassScanner.getTypesAnnotatedWith(Portable.class));
 addExposedInnerClasses(exposedClasses, exposedFromScanner);
 exposedClasses.addAll(exposedFromScanner);
 processErraiAppPropertiesFiles(frameworkProps, mappingAliases, exposedClasses, nonportableClasses, explicitTypes);
 processEnvironmentConfigExtensions(exposedClasses);
 // must do this before filling in interfaces and supertypes!
 exposedClasses.removeAll(nonportableClasses);
 for (final MetaClass cls : exposedClasses) {
  fillInInterfacesAndSuperTypes(portableNonExposed, cls);
 }
 return new EnvironmentConfig(mappingAliases, exposedClasses, portableNonExposed, explicitTypes, frameworkProps);
}
origin: org.jboss.errai/errai-config

private static EnvironmentConfig newEnvironmentConfig() {
 final Map<String, String> frameworkProps = new HashMap<>();
 final Map<String, String> mappingAliases = new HashMap<>();
 final Set<MetaClass> exposedClasses = new HashSet<>();
 final Set<MetaClass> nonportableClasses = new HashSet<>();
 final Set<String> explicitTypes = new HashSet<>();
 final Set<MetaClass> portableNonExposed = new HashSet<>();
 nonportableClasses.addAll(ClassScanner.getTypesAnnotatedWith(NonPortable.class));
 final Set<MetaClass> exposedFromScanner = new HashSet<>(ClassScanner.getTypesAnnotatedWith(Portable.class));
 addExposedInnerClasses(exposedClasses, exposedFromScanner);
 exposedClasses.addAll(exposedFromScanner);
 processErraiAppPropertiesFiles(frameworkProps, mappingAliases, exposedClasses, nonportableClasses, explicitTypes);
 processEnvironmentConfigExtensions(exposedClasses);
 // must do this before filling in interfaces and supertypes!
 exposedClasses.removeAll(nonportableClasses);
 for (final MetaClass cls : exposedClasses) {
  fillInInterfacesAndSuperTypes(portableNonExposed, cls);
 }
 return new EnvironmentConfig(mappingAliases, exposedClasses, portableNonExposed, explicitTypes, frameworkProps);
}
org.jboss.errai.config.rebindEnvUtilfillInInterfacesAndSuperTypes

Popular methods of EnvUtil

  • isPortableType
  • isProdMode
  • getEnvironmentConfig
  • isJUnitTest
  • getErraiAppPropertiesFilesUrls
  • isDevMode
  • isLocalEventType
  • recordEnvironmentState
  • addExposedInnerClasses
  • addMappingAliases
  • addNonSerializableTypes
  • addSerializableTypes
  • addNonSerializableTypes,
  • addSerializableTypes,
  • clearCache,
  • getAllPortableConcreteSubtypes,
  • isBuiltinPortableType,
  • isListValuedProperty,
  • isString,
  • isUserPortableType,
  • processEnvironmentConfigExtensions

Popular in Java

  • Creating JSON documents from java classes using gson
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Top Vim plugins
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