Tabnine Logo
TypeCache$CachedType.getDependencies
Code IndexAdd Tabnine to your IDE (free)

How to use
getDependencies
method
in
com.buschmais.jqassistant.plugin.java.api.scanner.TypeCache$CachedType

Best Java code snippets using com.buschmais.jqassistant.plugin.java.api.scanner.TypeCache$CachedType.getDependencies (Showing top 2 results out of 315)

origin: com.buschmais.jqassistant.plugin/java

public void addDependency(TypeDescriptor dependency) {
  Map<TypeDescriptor, Integer> dependencies = getDependencies();
  Integer weight = dependencies.get(dependency);
  if (weight == null) {
    weight = 0;
  }
  weight++;
  getDependencies().put(dependency, weight);
}
origin: com.buschmais.jqassistant.plugin/java

  public void storeDependencies(TypeCache.CachedType<?> cachedType) {
    Map<TypeDescriptor, Integer> dependencies = cachedType.getDependencies();
    for (Map.Entry<TypeDescriptor, Integer> entry : dependencies.entrySet()) {
      TypeDescriptor dependency = entry.getKey();
      final Integer weight = entry.getValue();
      TypeDescriptor dependent = cachedType.getTypeDescriptor();
      TypeDependsOnDescriptor dependsOnDescriptor = scannerContext.getStore().create(dependent, TypeDependsOnDescriptor.class, dependency);
      if (classModelConfiguration.isTypeDependsOnWeight()) {
        dependsOnDescriptor.setWeight(weight);
      }
    }
  }
}
com.buschmais.jqassistant.plugin.java.api.scannerTypeCache$CachedTypegetDependencies

Popular methods of TypeCache$CachedType

  • getTypeDescriptor
  • <init>
    Constructor.
  • addDependency
  • addMember
  • equals
  • getField
  • getMembers
  • getMethod

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSystemService (Context)
  • getResourceAsStream (ClassLoader)
  • getApplicationContext (Context)
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • JButton (javax.swing)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • CodeWhisperer alternatives
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