All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jqassistant.contrib.plugin.csharp.model.MethodDescriptor Maven / Gradle / Ivy

The newest version!
package org.jqassistant.contrib.plugin.csharp.model;

import com.buschmais.xo.neo4j.api.annotation.Label;
import com.buschmais.xo.neo4j.api.annotation.Relation;
import com.buschmais.xo.neo4j.api.annotation.Relation.Incoming;
import com.buschmais.xo.neo4j.api.annotation.Relation.Outgoing;

import java.util.List;


@SuppressWarnings("unused")
@Label(value = "Method")
public interface MethodDescriptor extends MemberDescriptor, AbstractDescriptor, PartialDescriptor {


    @Relation("HAS")
    List getParameters();

    @Relation("RETURNS")
    List getReturns();
    void setReturns(List returns);

    @Relation("THROWS")
    List getDeclaredThrowables();

    @Outgoing
    @Relation("INVOKES")
    List getInvokes();

    @Outgoing
    List getCreatesArray();

    @Relation("PARTIAL_WITH")
    List getMethodFragments();

    @Declares
    List getFields();

    @Incoming
    PropertyDescriptor getAssociatedProperty();
    void setAssociatedProperty(PropertyDescriptor propertyDescriptor);

    @Relation("EXTENDS")
    TypeDescriptor getExtendedType();
    void setExtendedType(TypeDescriptor typeDescriptor);

    boolean isImplementation();
    void setImplementation(boolean isImplementation);

    int getCyclomaticComplexity();
    void setCyclomaticComplexity(int cyclomaticComplexity);

    int getFirstLineNumber();
    void setFirstLineNumber(int firstLineNumber);

    int getLastLineNumber();
    void setLastLineNumber(int lastLineNumber);

    int getEffectiveLineCount();
    void setEffectiveLineCount(int effectiveLineCount);

    boolean isStatic();
    void setStatic(boolean s);

    boolean isReadonly();
    void setReadonly(boolean r);

    boolean isSealed();
    void setSealed(boolean s);

    boolean isNew();
    void setNew(boolean n);

    boolean isExtern();
    void setExtern(boolean e);

    boolean isOverride();
    void setOverride(boolean o);

    boolean isVirtual();
    void setVirtual(boolean v);

    boolean isExtensionMethod();
    void setExtensionMethod(boolean e);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy