Interface MethodDescriptor

    • Method Detail

      • getParameters

        @Relation("HAS")
        java.util.List<ParameterDescriptor> getParameters()
        Return all declared parameters of this method.
        Returns:
        The declared parameters.
      • getReturns

        @Relation("RETURNS")
        TypeDescriptor getReturns()
        Return the return type of this method.
        Returns:
        The return type.
      • getReturnsGeneric

        @Relation("RETURNS_GENERIC")
        BoundDescriptor getReturnsGeneric()
        Return the generic return type of this method.
        Returns:
        The generic return type.
      • setReturnsGeneric

        void setReturnsGeneric​(BoundDescriptor returnsGeneric)
      • getHasDefault

        @Relation("HAS_DEFAULT")
        com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> getHasDefault()
      • setHasDefault

        void setHasDefault​(com.buschmais.jqassistant.plugin.common.api.model.ValueDescriptor<?> hasDefault)
      • getThrows

        @Relation("THROWS")
        java.util.List<TypeDescriptor> getThrows()
        Return all declared throwables of this method.
        Returns:
        The declared throwables.
      • getThrowsGeneric

        @Relation("THROWS_GENERIC")
        java.util.List<BoundDescriptor> getThrowsGeneric()
        Return all declared generic throwables of this method.
        Returns:
        The declared generic throwables.
      • getReads

        java.util.List<ReadsDescriptor> getReads()
        Return all read accesses to fields this method performs.
        Returns:
        All read accesses to fields this method performs.
      • getWrites

        java.util.List<WritesDescriptor> getWrites()
        Return all write accesses to fields this method performs.
        Returns:
        All write accesses to fields this method performs.
      • getInvokes

        java.util.List<InvokesDescriptor> getInvokes()
        Return all invocations this method performs.
        Returns:
        All invocations this method performs.
      • getInvokedBy

        java.util.List<InvokesDescriptor> getInvokedBy()
        Return all invocations of this method by other methods.
        Returns:
        The invocations of this method by other methods.
      • isNative

        java.lang.Boolean isNative()
        Return true if this method is native.
        Returns:
        true if this method is native.
      • setNative

        void setNative​(java.lang.Boolean nativeMethod)
      • getCyclomaticComplexity

        int getCyclomaticComplexity()
        Return the cyclomatic complexity of the method.
        Returns:
        The cyclomatic complexity.
      • setCyclomaticComplexity

        void setCyclomaticComplexity​(int cyclomaticComplexity)
      • getDeclaredInnerClasses

        java.util.List<TypeDescriptor> getDeclaredInnerClasses()
      • getFirstLineNumber

        java.lang.Integer getFirstLineNumber()
        Return the first line number of the method.
        Returns:
        The first line number of the method.
      • setFirstLineNumber

        void setFirstLineNumber​(java.lang.Integer firstLineNumber)
      • getLastLineNumber

        java.lang.Integer getLastLineNumber()
        Return the last line number of the method.
        Returns:
        The last line number of the method.
      • setLastLineNumber

        void setLastLineNumber​(java.lang.Integer lastLineNumber)
      • getEffectiveLineCount

        int getEffectiveLineCount()
        Return the number of source code lines containing code.
        Returns:
        The number of source code lines containing code.
      • setEffectiveLineCount

        void setEffectiveLineCount​(int effectiveLineCount)