class Method[Labels <: HList] extends CpgSteps[codepropertygraph.generated.nodes.Method, Labels] with DeclarationBase[codepropertygraph.generated.nodes.Method, Labels] with NameAccessors[codepropertygraph.generated.nodes.Method, Labels] with FullNameAccessors[codepropertygraph.generated.nodes.Method, Labels] with SignatureAccessors[codepropertygraph.generated.nodes.Method, Labels] with LineNumberAccessors[codepropertygraph.generated.nodes.Method, Labels] with EvalTypeAccessors[codepropertygraph.generated.nodes.Method, Labels]
A method, function, or procedure
- Alphabetic
- By Inheritance
- Method
- EvalTypeAccessors
- LineNumberAccessors
- PropertyAccessors
- SignatureAccessors
- FullNameAccessors
- NameAccessors
- StringPropertyAccessors
- DeclarationBase
- CpgSteps
- NodeSteps
- Steps
- StepsRoot
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Method(raw: GremlinScala[Vertex])
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_toJson(pretty: Boolean): String
- Attributes
- protected
- Definition Classes
- CpgSteps
-
def
aggregate(into: Buffer[codepropertygraph.generated.nodes.Method]): NodeSteps[codepropertygraph.generated.nodes.Method, Labels]
- Definition Classes
- NodeSteps
-
def
and(andTraversals: (Steps[codepropertygraph.generated.nodes.Method, Vertex, HNil]) ⇒ Steps[_, _, _]*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
as[NewLabels <: HList](stepLabel: StepLabel[codepropertygraph.generated.nodes.Method])(implicit prependDomain: shapeless.ops.hlist.Prepend.Aux[Labels, ::[codepropertygraph.generated.nodes.Method, HNil], NewLabels]): Steps[codepropertygraph.generated.nodes.Method, Vertex, NewLabels]
- Definition Classes
- Steps
-
def
as[NewLabels <: HList](stepLabel: String)(implicit prependDomain: shapeless.ops.hlist.Prepend.Aux[Labels, ::[codepropertygraph.generated.nodes.Method, HNil], NewLabels]): Steps[codepropertygraph.generated.nodes.Method, Vertex, NewLabels]
- Definition Classes
- Steps
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
callIn(implicit callResolver: ICallResolver): Call[Labels]
Incoming call sites
-
def
callOut: Call[Labels]
Outgoing call sites
-
def
calledBy(sourceTrav: MethodInst[Labels])(implicit callResolver: ICallResolver): Method[Labels]
Traverse to direct and transitive callers of the method.
-
def
calledBy(sourceTrav: Method[Labels])(implicit callResolver: ICallResolver): Method[Labels]
Traverse to direct and transitive callers of the method.
-
def
calledByIncludingSink(sourceTrav: Method[Labels], resolve: Boolean = true)(implicit callResolver: ICallResolver): Method[Labels]
Intendend for internal use! Traverse to direct and transitive callers of the method.
-
def
callee(implicit callResolver: ICallResolver): Method[Labels]
Traverse to methods called by this method
-
def
caller(implicit callResolver: ICallResolver): Method[Labels]
Traverse to direct callers of this method
-
def
cfgFirst: Expression[Labels]
Traverse to first expressions in CFG.
Traverse to first expressions in CFG. Can be multiple.
-
def
cfgLast: Expression[Labels]
Traverse to last expressions in CFG.
Traverse to last expressions in CFG. Can be multiple.
-
def
clone(): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps → AnyRef
-
val
converter: Converter[codepropertygraph.generated.nodes.Method] { type GraphType = gremlin.scala.Vertex }
- Definition Classes
- Method → EvalTypeAccessors → PropertyAccessors → StringPropertyAccessors → Steps
-
def
count(): Long
- Definition Classes
- Steps
-
def
dedup(): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
definingMethod: Method[Labels]
The method in which this method is defined
-
def
definingTypeDecl: TypeDecl[Labels]
The type declaration associated with this method, e.g., the class it is defined in.
-
def
emit(emitTraversal: (Steps[codepropertygraph.generated.nodes.Method, Vertex, HNil]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
emit(): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
evalType(_values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalType(_value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalType(): Steps[String, String, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalTypeExact(_values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalTypeExact(_value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalTypeNot(_values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
evalTypeNot(_value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- EvalTypeAccessors
-
def
exec(): Unit
- Definition Classes
- Steps
-
def
file: File[Labels]
Traverse to source file
Traverse to source file
- Definition Classes
- CpgSteps
-
def
filter(predicate: (Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
filterNot(predicate: (Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
filterOnEnd(predicate: (codepropertygraph.generated.nodes.Method) ⇒ Boolean): NodeSteps[codepropertygraph.generated.nodes.Method, Labels]
- Definition Classes
- NodeSteps
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[NewSteps <: StepsRoot](fun: (codepropertygraph.generated.nodes.Method) ⇒ NewSteps)(implicit constr: Aux[gremlin.scala.dsl.Steps.flatMap.NewSteps.EndDomain0, Labels, gremlin.scala.dsl.Steps.flatMap.NewSteps.EndGraph0, NewSteps], newConverter: Converter[gremlin.scala.dsl.Steps.flatMap.NewSteps.EndDomain0]): NewSteps
- Definition Classes
- Steps
-
def
fullName(value: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullName(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullName(): Steps[String, String, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullNameExact(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullNameExact(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullNameNot(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
def
fullNameNot(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- FullNameAccessors
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
implicit
val
graph: Graph
- Definition Classes
- CpgSteps
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
head(): codepropertygraph.generated.nodes.Method
- Definition Classes
- Steps
-
def
headOption(): Option[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
id(ids: AnyRef*): NodeSteps[codepropertygraph.generated.nodes.Method, Labels]
- Definition Classes
- NodeSteps
-
def
inVTableOfTypeDecl: TypeDecl[Labels]
Traverse to the type declarations were this method is in the VTable.
-
def
isAbstract: Method[Labels]
Traverse to abstract methods
-
def
isConstructor: Method[Labels]
Traverse to constructors, that is, keep methods that are constructors
-
def
isDefined: Boolean
- Definition Classes
- Steps
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isNative: Method[Labels]
Traverse to native methods
-
def
isNotStub: Method[Labels]
Traverse only to methods that are not stubs.
-
def
isPrivate: Method[Labels]
Traverse to private methods
-
def
isProtected: Method[Labels]
Traverse to protected methods
-
def
isPublic: Method[Labels]
Traverse to public methods
-
def
isStatic: Method[Labels]
Traverse to static methods
-
def
isStub: Method[Labels]
Traverse only to methods that are stubs, e.g., their code is not available
-
def
isVirtual: Method[Labels]
Traverse to virtual method
-
def
iterate(): Unit
- Definition Classes
- Steps
-
def
l: List[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
lineNumber(value: Integer*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- LineNumberAccessors
-
def
lineNumber(value: Integer): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- LineNumberAccessors
-
def
lineNumber(): Steps[Integer, Integer, Labels]
- Definition Classes
- LineNumberAccessors
-
def
lineNumberNot(values: Integer*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- LineNumberAccessors
-
def
lineNumberNot(value: Integer): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- LineNumberAccessors
-
def
literal: Literal[Labels]
Traverse to literals of method
-
def
local: Local[Labels]
Traverse to the methods local variables
-
def
map[NewEndDomain, NewEndGraph, NewSteps <: StepsRoot](fun: (codepropertygraph.generated.nodes.Method) ⇒ NewEndDomain)(implicit newConverter: Aux[NewEndDomain, NewEndGraph], constr: Aux[NewEndDomain, Labels, NewEndGraph, NewSteps]): NewSteps
- Definition Classes
- Steps
-
def
methodInstance: MethodInst[Labels]
Traverse to concrete instances of method.
-
def
methodReturn: MethodReturn[Labels]
Traverse to formal return parameter
-
def
modifier: Modifier[Labels]
Traverse to method modifiers, e.g., "static", "public".
-
def
name(value: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where the name matches at least one of the regular expressions in
valuesTraverse to nodes where the name matches at least one of the regular expressions in
values- Definition Classes
- NameAccessors
-
def
name(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where the name matches the regular expression
valueTraverse to nodes where the name matches the regular expression
value- Definition Classes
- NameAccessors
-
def
name(): Steps[String, String, Labels]
Traverse to name
Traverse to name
- Definition Classes
- NameAccessors
-
def
nameExact(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where name matches one of the elements in
valuesexactly.Traverse to nodes where name matches one of the elements in
valuesexactly.- Definition Classes
- NameAccessors
-
def
nameExact(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where name matches
valueexactly.Traverse to nodes where name matches
valueexactly.- Definition Classes
- NameAccessors
-
def
nameNot(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where name does not match any of the regular expressions in
values.Traverse to nodes where name does not match any of the regular expressions in
values.- Definition Classes
- NameAccessors
-
def
nameNot(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where name does not match the regular expression
value.Traverse to nodes where name does not match the regular expression
value.- Definition Classes
- NameAccessors
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
onRaw(fun: (GremlinScala[Vertex]) ⇒ GremlinScala[Vertex]): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
or(orTraversals: (Steps[codepropertygraph.generated.nodes.Method, Vertex, HNil]) ⇒ Steps[_, _, _]*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
orderBy[A](fun: (codepropertygraph.generated.nodes.Method) ⇒ A): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
p(): Unit
- Definition Classes
- Steps
-
def
parameter: MethodParameter[Labels]
Traverse to parameters of the method
-
def
property[P](property: Key[P]): Steps[P, P, Labels]
- Definition Classes
- PropertyAccessors
-
def
propertyFilter[Out, P](property: Key[P], value: P): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- PropertyAccessors
-
def
propertyFilterMultiple[Out, P](property: Key[P], values: P*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- PropertyAccessors
-
def
propertyFilterNot[Out, P](property: Key[P], value: P): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- PropertyAccessors
-
def
propertyFilterNotMultiple[Out, P](property: Key[P], values: P*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- PropertyAccessors
-
val
raw: GremlinScala[Vertex]
- Definition Classes
- Method → EvalTypeAccessors → PropertyAccessors → StringPropertyAccessors → CpgSteps → NodeSteps → Steps → StepsRoot
-
def
repeat[NewEndDomain >: codepropertygraph.generated.nodes.Method](repeatTraversal: (Steps[codepropertygraph.generated.nodes.Method, Vertex, HNil]) ⇒ Steps[NewEndDomain, Vertex, _])(implicit newConverter: Aux[NewEndDomain, Vertex]): Steps[NewEndDomain, Vertex, Labels]
- Definition Classes
- Steps
-
def
s(): Stream[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
select[StepLabelsTuple <: Product, StepLabels <: HList, H0, T0 <: HList, SelectedTypes <: HList, SelectedTypesTuple <: Product, SelectedGraphTypesTuple <: Product, LabelNames <: HList, Z](stepLabelsTuple: StepLabelsTuple)(implicit toHList: Aux[StepLabelsTuple, StepLabels], hasOne: Aux[StepLabels, H0, T0], hasTwo: IsHCons[T0], extractLabelType: Aux[StepLabels, SelectedTypes], tupler: shapeless.ops.hlist.Tupler.Aux[SelectedTypes, SelectedTypesTuple], conv: Aux[SelectedTypesTuple, SelectedGraphTypesTuple], stepLabelToString: Aux[GetLabelName.type, StepLabels, LabelNames], trav: Aux[LabelNames, List, String], folder: Aux[StepLabels, (HNil, Map[String, Any]), combineLabelWithValue.type, (SelectedTypes, Z)]): Steps[SelectedTypesTuple, SelectedGraphTypesTuple, Labels]
- Definition Classes
- Steps
-
def
select[Label, LabelGraph](label: StepLabel[Label])(implicit conv1: Aux[Label, LabelGraph]): Steps[Label, LabelGraph, Labels]
- Definition Classes
- Steps
-
def
select[LabelsGraph <: HList, LabelsGraphTuple, LabelsTuple]()(implicit conv1: Aux[Labels, LabelsGraph], tupler1: shapeless.ops.hlist.Tupler.Aux[LabelsGraph, LabelsGraphTuple], tupler2: shapeless.ops.hlist.Tupler.Aux[Labels, LabelsTuple], conv2: Aux[LabelsTuple, LabelsGraphTuple]): Steps[LabelsTuple, LabelsGraphTuple, Labels]
- Definition Classes
- Steps
-
def
sideEffect(fun: (codepropertygraph.generated.nodes.Method) ⇒ Any): NodeSteps[codepropertygraph.generated.nodes.Method, Labels]
- Definition Classes
- NodeSteps
-
def
signature(value: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where the signature matches at least one of the regular expressions in
valuesTraverse to nodes where the signature matches at least one of the regular expressions in
values- Definition Classes
- SignatureAccessors
-
def
signature(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where the signature matches the regular expression
valueTraverse to nodes where the signature matches the regular expression
value- Definition Classes
- SignatureAccessors
-
def
signature(): Steps[String, String, Labels]
Traverse to signature
Traverse to signature
- Definition Classes
- SignatureAccessors
-
def
signatureExact(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where signature matches one of the elements in
valuesexactly.Traverse to nodes where signature matches one of the elements in
valuesexactly.- Definition Classes
- SignatureAccessors
-
def
signatureExact(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where signature matches
valueexactly.Traverse to nodes where signature matches
valueexactly.- Definition Classes
- SignatureAccessors
-
def
signatureNot(values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where signature does not match any of the regular expressions in
values.Traverse to nodes where signature does not match any of the regular expressions in
values.- Definition Classes
- SignatureAccessors
-
def
signatureNot(value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
Traverse to nodes where signature does not match the regular expression
value.Traverse to nodes where signature does not match the regular expression
value.- Definition Classes
- SignatureAccessors
-
def
stringProperty(property: Key[String]): Steps[String, String, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilter(property: Key[String], value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilterExact[Out](property: Key[String], _value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilterExactMultiple[Out](property: Key[String], values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilterMultiple(property: Key[String], values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilterNot[Out](property: Key[String], value: String): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
def
stringPropertyFilterNotMultiple[Out](property: Key[String], values: String*): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Attributes
- protected
- Definition Classes
- StringPropertyAccessors
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
times(maxLoops: Int): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
def
toBuffer(): Buffer[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
toJson: String
Execute traversal and convert the result to json.
Execute traversal and convert the result to json.
- Definition Classes
- CpgSteps
-
def
toJsonPretty: String
- Definition Classes
- CpgSteps
-
def
toList(): List[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
toMaps(): Steps[Map[String, AnyRef], Map[String, AnyRef], Labels]
- Definition Classes
- CpgSteps
-
def
toSet(): Set[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
toStream(): Stream[codepropertygraph.generated.nodes.Method]
- Definition Classes
- Steps
-
def
toString(): String
- Definition Classes
- Steps → AnyRef → Any
- def topLevelExpressions: Expression[Labels]
-
def
until(untilTraversal: (Steps[codepropertygraph.generated.nodes.Method, Vertex, HNil]) ⇒ Steps[_, _, _]): Steps[codepropertygraph.generated.nodes.Method, Vertex, Labels]
- Definition Classes
- Steps
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
walkIn(edgeType: String): GremlinScala[Vertex]
- Definition Classes
- NodeSteps