Package jadex.bdiv3

Interface IBDIClassGenerator

    • Field Detail

      • AGENT_FIELD_NAME

        static final java.lang.String AGENT_FIELD_NAME
        Name of the field that is injected for agent name.
        See Also:
        Constant Field Values
      • GLOBALNAME_FIELD_NAME

        static final java.lang.String GLOBALNAME_FIELD_NAME
        Name of the field that is injected for globalname.
        See Also:
        Constant Field Values
      • INITARGS_FIELD_NAME

        static final java.lang.String INITARGS_FIELD_NAME
        Name of the field in which the initargs are injected.
        See Also:
        Constant Field Values
      • DYNAMIC_BELIEF_UPDATEMETHOD_PREFIX

        static final java.lang.String DYNAMIC_BELIEF_UPDATEMETHOD_PREFIX
        See Also:
        Constant Field Values
      • INIT_EXPRESSIONS_METHOD_PREFIX

        static final java.lang.String INIT_EXPRESSIONS_METHOD_PREFIX
        See Also:
        Constant Field Values
    • Method Detail

      • isEnhanced

        static boolean isEnhanced​(java.lang.Class<?> clazz)
        Returns whether a class is already enhanced.
        Parameters:
        clazz -
        Returns:
        true, if already enhanced, else false.
      • isEnhanced

        static boolean isEnhanced​(SClassReader.ClassFileInfo clazzfileinfo)
        Returns whether a class is already enhanced.
        Parameters:
        clazz - The clazz info.
        Returns:
        true, if already enhanced, else false.
      • checkEnhanced

        static void checkEnhanced​(java.lang.Class<?> clazz)
        Check if a bdi agent class was enhanced.
        Throws:
        java.lang.RuntimeException - if was not enhanced.