Class FSClassRegistry.JCasClassInfo

  • Enclosing class:
    FSClassRegistry

    public static class FSClassRegistry.JCasClassInfo
    extends java.lang.Object
    One instance per JCas class defined for it, per class loader - per class loader, because different JCas class definitions for the same name are possible, per class loader Kept in maps, per class loader. Created when potentially loading JCas classes. Entries kept in potentially multiple global static hashmaps, with key = the string form of the typename - string form of key allows sharing the same named JCas definition among different type system type-impls. - one hashmap per classloader Entries reused potentially by multiple type systems. Info used for - identifying the target of a "new" operator - could be generator for superclass. - remembering the results of getting all the features this JCas class defines One entry per defined JCas class per classloader; no instance if no JCas class is defined.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) FSClassRegistry.JCasClassFeatureInfo[] features  
      (package private) FsGenerator3 generator  
      (package private) java.lang.Class<? extends TOP> jcasClass
      The corresponding loaded JCas Class for this UIMA type, may be a JCas class associated with a UIMA supertype if no JCas class is found for this type.
      (package private) int jcasType
      NOT the TypeCode, but instead, the unique int assigned to the JCas class when it gets loaded Might be -1 if the JCasClassInfo instance is for a non-JCas instantiable type
    • Constructor Summary

      Constructors 
      Constructor Description
      JCasClassInfo​(java.lang.Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType)  
    • Field Detail

      • jcasClass

        final java.lang.Class<? extends TOP> jcasClass
        The corresponding loaded JCas Class for this UIMA type, may be a JCas class associated with a UIMA supertype if no JCas class is found for this type.
      • jcasType

        final int jcasType
        NOT the TypeCode, but instead, the unique int assigned to the JCas class when it gets loaded Might be -1 if the JCasClassInfo instance is for a non-JCas instantiable type
    • Constructor Detail

      • JCasClassInfo

        JCasClassInfo​(java.lang.Class<? extends TOP> jcasClass,
                      FsGenerator3 generator,
                      int jcasType)
    • Method Detail

      • isCopydown

        boolean isCopydown​(TypeImpl ti)
      • isCopydown

        boolean isCopydown​(java.lang.String jcasClassName)