Class PBXReference
- java.lang.Object
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXObject
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXContainerItem
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXReference
-
- Direct Known Subclasses:
PBXFileReference
,PBXGroup
,XCVersionGroup
public abstract class PBXReference extends PBXContainerItem
Superclass for file, directories, and groups. Xcode's virtual file hierarchy are made of these objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PBXReference.SourceTree
-
Constructor Summary
Constructors Constructor Description PBXReference(String name, String path, PBXReference.SourceTree sourceTree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
String
getPath()
PBXReference.SourceTree
getSourceTree()
String
isa()
void
serializeInto(XcodeprojSerializer s)
Populates the serializer with the fields of this object.void
setPath(String v)
void
setSourceTree(PBXReference.SourceTree v)
int
stableHash()
This method is used to generate stable GIDs and must be stable for identical contents.String
toString()
-
Methods inherited from class com.facebook.buck.apple.xcode.xcodeproj.PBXObject
generateGid, getGlobalID, setGlobalID
-
-
-
-
Constructor Detail
-
PBXReference
public PBXReference(String name, @Nullable String path, PBXReference.SourceTree sourceTree)
-
-
Method Detail
-
getName
public String getName()
-
setPath
public void setPath(String v)
-
getSourceTree
public PBXReference.SourceTree getSourceTree()
-
setSourceTree
public void setSourceTree(PBXReference.SourceTree v)
-
isa
public String isa()
- Overrides:
isa
in classPBXContainerItem
- Returns:
- Type name of the serialized object.
-
stableHash
public int stableHash()
Description copied from class:PBXObject
This method is used to generate stable GIDs and must be stable for identical contents. Returning a constant value is ok but will make the generated project order-dependent.- Overrides:
stableHash
in classPBXObject
-
serializeInto
public void serializeInto(XcodeprojSerializer s)
Description copied from class:PBXObject
Populates the serializer with the fields of this object.- Overrides:
serializeInto
in classPBXContainerItem
-
-