Codota Logo
SootClass.isAbstract
Code IndexAdd Codota to your IDE (free)

How to use
isAbstract
method
in
soot.SootClass

Best Java code snippets using soot.SootClass.isAbstract (Showing top 19 results out of 315)

  • Common ways to obtain SootClass
private void myMethod () {
SootClass s =
  • Codota IconString className;Scene.v().getSootClass(className)
  • Codota IconSootMethod sm;sm.getDeclaringClass()
  • Codota IconRefType refType;refType.getSootClass()
  • Smart code suggestions by Codota
}
origin: Sable/soot

/** Returns true if this class is not an interface and not abstract. */
public boolean isConcrete() {
 return !isInterface() && !isAbstract();
}
origin: Sable/soot

 public void visit(Node n) {
  Type t = n.getType();
  if (t instanceof RefType) {
   RefType rt = (RefType) t;
   if (rt.getSootClass().isAbstract()) {
    return;
   }
  }
  ret.add(t);
 }
});
origin: Sable/soot

SootClass c = s.iterator().next();
s.remove(c);
if (!c.isInterface() && !c.isAbstract() && canStoreClass(c, declaringClass)) {
 SootMethod concreteM = resolveConcreteDispatch(c, m);
 if (concreteM != null) {
origin: Sable/soot

 worklist.addAll(c);
if (!concreteType.isAbstract()) {
 while (true) {
  if (resolved.contains(concreteType)) {
origin: Sable/soot

AllocNode(PAG pag, Object newExpr, Type t, SootMethod m) {
 super(pag, t);
 this.method = m;
 if (t instanceof RefType) {
  RefType rt = (RefType) t;
  if (rt.getSootClass().isAbstract()) {
   boolean usesReflectionLog = new CGOptions(PhaseOptions.v().getPhaseOptions("cg")).reflection_log() != null;
   if (!usesReflectionLog) {
    throw new RuntimeException("Attempt to create allocnode with abstract type " + t);
   }
  }
 }
 this.newExpr = newExpr;
 if (newExpr instanceof ContextVarNode) {
  throw new RuntimeException();
 }
 pag.getAllocNodeNumberer().add(this);
}
origin: Sable/soot

SootClass c = s.iterator().next();
s.remove(c);
if (!c.isInterface() && !c.isAbstract() && canStoreClass(c, declaringClass)) {
 SootMethod concreteM = resolveConcreteDispatch(c, m);
 if (concreteM != null) {
origin: ibinti/bugvm

/** Returns true if this class is not an interface and not abstract. */
public boolean isConcrete() {
  return !isInterface() && !isAbstract();
}
origin: com.bugvm/bugvm-soot

/** Returns true if this class is not an interface and not abstract. */
public boolean isConcrete() {
  return !isInterface() && !isAbstract();
}
origin: ibinti/bugvm

if( !concreteType.isAbstract() ) {
  while( true ) {
    if( resolved.contains( concreteType ) ) break;
origin: com.bugvm/bugvm-soot

if( !concreteType.isAbstract() ) {
  while( true ) {
    if( resolved.contains( concreteType ) ) break;
origin: ibinti/bugvm

SootClass c = (SootClass) s.iterator().next();
s.remove( c );
if( !c.isInterface() && !c.isAbstract()
    && canStoreClass( c, declaringClass ) ) {
  SootMethod concreteM = resolveConcreteDispatch( c, m );
origin: ibinti/bugvm

SootClass c = (SootClass) s.iterator().next();
s.remove( c );
if( !c.isInterface() && !c.isAbstract()
    && canStoreClass( c, declaringClass ) ) {
  SootMethod concreteM = resolveConcreteDispatch( c, m );
origin: com.bugvm/bugvm-soot

SootClass c = (SootClass) s.iterator().next();
s.remove( c );
if( !c.isInterface() && !c.isAbstract()
    && canStoreClass( c, declaringClass ) ) {
  SootMethod concreteM = resolveConcreteDispatch( c, m );
origin: com.bugvm/bugvm-soot

SootClass c = (SootClass) s.iterator().next();
s.remove( c );
if( !c.isInterface() && !c.isAbstract()
    && canStoreClass( c, declaringClass ) ) {
  SootMethod concreteM = resolveConcreteDispatch( c, m );
origin: secure-software-engineering/FlowDroid

  logger.warn("Cannot create valid constructor for {}, because it is {} and cannot substitute with subclass",
      createdClass,
      (createdClass.isInterface() ? "an interface" : (createdClass.isAbstract() ? "abstract" : "")));
  this.failedClasses.add(createdClass);
  return null;
    (createdClass.isInterface() ? "an interface" : (createdClass.isAbstract() ? "abstract" : "")));
this.failedClasses.add(createdClass);
return null;
origin: jayhorn/jayhorn

if (t instanceof RefType) {
  SootClass subClass = ((RefType) t).getSootClass();
  if (!subClass.isAbstract() && !subClass.isInterface()
      && subClass.declaresMethod(callee.getSubSignature())) {
    possibleClasses.add(subClass);
origin: secure-software-engineering/FlowDroid

  return tempLocal;
if (createdClass.isInterface() || createdClass.isAbstract()) {
  return generateSubstitutedClassConstructor(createdClass, body, constructionStack, parentClasses);
} else {
origin: secure-software-engineering/FlowDroid

if (applicationClass.isAbstract())
  return;
if (applicationClass.isPhantom()) {
origin: secure-software-engineering/soot-infoflow

if (applicationClass.isAbstract())
  return;
if (applicationClass.isPhantom()) {
sootSootClassisAbstract

Javadoc

Convenience method returning true if this class is abstract.

Popular methods of SootClass

  • isInterface
    Convenience method; returns true if this class is an interface.
  • getMethods
  • getName
    Returns the name of this class.
  • setApplicationClass
    Makes this class an application class.
  • getFields
    Returns a backed Chain of fields.
  • getInterfaces
    Returns a backed Chain of the interfaces that are directly implemented by this class. (see getInterf
  • getSuperclass
    WARNING: interfaces are subclasses of the java.lang.Object class! Returns the superclass of this cla
  • hasSuperclass
    WARNING: interfaces are subclasses of the java.lang.Object class! Does this class have a superclass?
  • resolvingLevel
  • addMethod
    Adds the given method to this class.
  • declaresMethod
    Does this class declare a method with the given subsignature?
  • getMethod
  • declaresMethod,
  • getMethod,
  • getType,
  • isApplicationClass,
  • isLibraryClass,
  • addField,
  • isPhantom,
  • <init>,
  • declaresField

Popular in Java

  • Making http post requests using okhttp
  • getSystemService (Context)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Menu (java.awt)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • BoxLayout (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now